Page tree

Versions Compared

Key

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

...

  • Select the curve's shape node (select the curve in the outliner and press the down arrow).
  • Add a RenderMan primvar named rmanNN
    • main menu > Modify
    • Add Attribute...
    • Long Name = rmanNN
    • data Type = Vector
  • Change rmanNN in the curve shape node to anything but 0, for example, 2701, 10, 3600.
  • This will supply the curve with a normal and twist the curve.

...

Maya Scene > flat_curve.ma.zip


...


Info

Image Removed

This image is rendered entirely with curves generated with Paint Effects.

To create Paint Effects, open Maya's Visor window: Windows > General Editors > Content Browser.  Find the Paint Effects tab, click on a brush type in one of the folders, and then draw in the Maya viewport.

Paint Effects strokes that use a Brush Type "Paint" are rendered directly as curves by RenderMan.  It isn't necessary to translate to a mesh, although in some cases you may wish to do that.  You can find the brush type on the brush node after drawing a stroke.

Image Removed

After creating a Paint Effects stroke a couple extra steps are required to set up a RenderMan material for rendering.  Shading for Paint Effects brushes is not fully translated.  However, a Cs (color) primitive variable is emitted for the curves, so you can make use of that in a material assigned to the stroke. PxrPrimvar > Color Input

...

titlePrimvars

To learn more about RenderMan Primitive Variables in RenderMan for Maya, check out the About Primitive Variables page:

Action Button
linkAbout Primitive Variables
textLearn More