Skip to content

Curve Utility#

The Curve Utility texture is a dedicated node to extract geometric information from curve geometries (hair and fur). The attribute Output sets what information the texture should output as color. The output value is not normalized. For example, if you output P (Position), this will export the real position values and not a normalized color relative to the scene size. However Curve ID is normalized.

Information

The Curve Utility exclusively returns information when used on shading networks applied to curve geometries.

Output Modes#

By default, the Curve Utility outputs information related to the root. Using the Target attribute you can choose to output information from the Tip or the current Fragment.

Output Mode Description
P (Position) Return the position information from the current curve. Using the Space attribute it is possible to return the position in World, Local or Camera space.
Tangent Return the tangent information from the current curve. Using the Space attribute it is possible to return the tangent in World, Local or Camera space.
Radius Return the current curve radius size information.
Curve ID Return the ID of the current curve.

Space#

The Space attribute defines in which space the output value should be expressed in.

Space Mode Description
World Express the information in World space.
Local Express the information in Local space. The local space doesn't take into account any transformation matrix.
Camera Express the information in Camera space.

Target#

The Target attribute defines which information you wish to output from the curve.

Target Mode Description
Root Output the information related to the root of the curve.
Tip Output the information related to the tip of the curve.
Fragment Output the information related to the currently shaded geometric fragment on the curve.

Curve ID#

The Curve Utility Texture can be used to output the id of the current curve which is very useful to create variations based on the IDs of the curves in your material network.

ID Output Mode#

By default IDs are output as color. It is possible to output actual raw IDs using ID Output Mode or a random value encoded as a black and white color to use in your materials.

ID Output Mode Description
Raw Color Return the raw ID of the rendered curve.
Color Coded Return a encoded color of based on the raw ID instead.
Random Value Return a random value as a black and white color which is useful when adding randomization in textures.

ID Seed#

When ID Output Mode is set to Color Coded or Random Value, it is possible to use the ID Seed attribute to change the seed of the random generator used to encode the curve ID.