Page tree

Versions Compared

Key

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

...

RenderMan for Maya automatically establishes the correct rendering context for variations in particle color, opacity, and radius. A useful way to attach the particle's color and opacity, is to use the Cs and Ci primvars. You can attach the primvars to the material by using a PxrPrimvar pattern.

You can write MEL expressions to calculate per-particle radii (radiusPP), color (rgbPP), opacity (opacityPP), and lifespan (lifespanPP and useLifespanPP). You can also use Maya to setup procedural ramps which remap these values.

...