Set Texture Projection Camera
 
 
 

Calculates the UV coordinates of a camera projection, and stores it as a per-point 3D vector attribute on the "self" object that can be used as a texture projection when rendering.

Tasks: Topology/Setters

Output Ports: Execute

Camera

Camera Name

Connect the name of the camera, or a prefix to use with Reference.

Camera Reference

Specify the camera. If anything is connected to In Name, it gets prefixed to the name specified here.

Texture Projection

Texture Reference

Specify the name of an attribute to store the 3D vector texture coordinates per point.

Is Homogeneous

Controls whether the UVW values are stored as homogeneous texture coordinates.

  • If True, the UVW values are stored as (U, V, q) where q is the distance to the camera.
  • If False, the UVW values are stored as (U/q, V/q, 0).

IsHomogeneous Reference

Specify the name of the attribute that stores whether the coordinates are homogeneous or not so that they can be treated correctly when rendering. The attribute name must be the same as the Texture Reference with "_IsHomogeneous" appended.