Page tree

Versions Compared

Key

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

...

Info

See Curves for more information on RenderMan curve and its attributes such as how to turn on round curves, curves default to tubes in RenderMan. Camera facing/billboard curves are not supported. but ribbons will be rendered if user normals are supplied.

 

To render the curve, we need to add at least a width attribute, curve interpolation and basis. 

You can use the shelf button AddSpareParameters with the curve SOP selected to create the RenderMan tabs and the Geometry Tab for setting Curve properties:

  • Curve Basis: Selected the type of curve basis (to influence the shape and control)

Image Added

  • Opacity Samples: The number of samples to take when using Presence (opacity) in a material. Note that the integrator may be used to enforce a set number of opacity samples before resorting to stochastic samples which may be noisy.

Add Width Attribute

  • Add a width attribute with Attribute Create.  Set a width value at the bottom, e.g. 0.01.

Image Modified

 

  • Map the width attribute to RenderMan attribute with Attribute Rename.

Image Modified

 

  • Connect the nodes.

Image Modified

 

Add Curve Interpolation and Basis

In your ROP, select Edit Parameter Interface and add ri_curveinterpolation and ri_curvebasis.  Set the interpolation and basis accordingly.

ROP Node settings

Under Rendering > Dicing you will find the global control Minimum Width to control the minimum width in pixels of rendered curves. Smaller values (or 0) may take longer to render as curves smaller than a pixel width may be missed and require more min samples from the rendering quality settings.Image Removed