Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Primitive variables (often referred as "primvar") are data attached to the geometry.  This is useful when a shader needs to reference custom data from the geometry such as foam in an ocean shader. There is no need to remap houdini Houdini primvars to renderman RenderMan primvars. All geometry attributes are passed to renderman RenderMan as primvars. 

 

Inside the RIS NetworkPxrMaterialBuilder node, we access geometry attributes by creating a PxrPrimvar to read this primvar.

Image Removed

 

For example, we connect PxrPrimvar's resultF to PxrSurface's Diffuse Gain.

Image RemovedImage Added