projectUV operation

This 2019.0 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Syntax

  • projectUV (uvSet)

Parameters

  1. uvSetfloat (range[0,5])
    Number of texture coordinates set. The numbering corresponds to the texture layers of the material attribute, see also texturing: essential knowledge.

Description

The projectUV operation creates the final texture coordinates of the selected uv-set by applying the corresponding projection matrix. Thus, this operation 'bakes' the texture projection into the texture coordinates of the geometry of the current shape. The projection is based on the uvw-coordinate system specified by the setupProjection operation.

Note:

Colormap has uvSet 0, bumpmap will have uvSet 1, dirtmap has uvSet 2.

Related

Examples

Please refer to the examples in the setupProjection reference.


In this topic