Control XGen primitives using attributes, expressions, and maps
Click the Primitives tab in the XGen Editor to input or edit values for attributes. Use expressions or Ptex maps to further modify these attribute values.
Topics in this section
Control primitives using expressions
Use expressions to generate values for primitive attributes and XGen modifiers. For example, you can create an expression that randomizes values for primitive length or adds noise to Clumping modifier values.
Create global expressions
You can use global expressions to set multiple attributes with the same computed value.
Work with Ptex maps and expressions
Use Ptex maps and expressions together to generate output values for primitive attributes. For example, you can create a Ptex map then use an expression to change how the map's values affect the primitive's color.