Geometry generation

This tutorial takes you through the process of adding a procedure to generate a coloured cylinder mesh in the scene.

Warning
The geometry generation features of Apparance are considered experimental at the moment. The operators available are currently a sub-set of what will be available in the future. There are plenty to play with, but please bear this in mind. If you want to get involved in discussing the geometry generation features please visit the Apparance Forums.

Primary Goals

  • Trying out the basics of geometry generation
    • Primitive operators
    • Assigning materials
    • Assigning vertex colours

Instructions

  1. Create a new procedure in the Apparance Editor called "Second Procedure"
  2. In the Operators panel, right click and enable the "Experimental" operators
  3. Add the following operators to it:
    1. Cylinder (under Primitives)
    2. Material (under Modelling)
    3. Colour (under Modelling)
    4. Resolve (under Resources)
  4. Wire them up in sequence
    1. Cylinder output to Material input
    2. Material output to Colour input
    3. Resolve output to Material ID input
  5. Create inputs and output
    1. Drag the Cylinder's "Where?" input out to the left to make it a procedure input
    2. Drag the Colour nodes "Value" input out to the left to make it a procedure input too
    3. Select the new Value input and rename it to "Colour"
    4. Drag the Colour output out to the right to create a procedure output
  6. Set the Resolve nodes Descriptor to "Apparance.Material.Coloured"
  7. Hit save (Ctrl+S in the node graph)
  8. In Unreal, drag another Apparance Entity actor into your scene
  9. Select the "Second Procedure" from the Procedure dropdown
  10. Play with the "Where?" and "Colour" properties

Procedure

Your procedure should look something like this: