Rendering curve using Renderman

   3089   2   1
User Avatar
Member
18 posts
Joined: March 2012
Offline
Hi all,

Please see the attachment.
I want to render curves in houdini with varying width using Renderman.

In the scene file, if I add attributes of constant width, the rendering and the output rib file is ok.
But when I add attributes of varying width, the render output nothing.
The error message I got is like this:

{ERROR} “In correct number of varying float width ”width" valuees specified for RiCurves (got 601, expected 300)

Is it a bug? or I got some wrong settings?

p.s.
I have added Rendering Parameters for Renderman on the curves Obj to ensure the rendering work.

Attachments:
test_renderman_curve.hip (474.2 KB)

User Avatar
Staff
2593 posts
Joined: July 2005
Offline
pyrochlore
Hi all,

Please see the attachment.
I want to render curves in houdini with varying width using Renderman.

In the scene file, if I add attributes of constant width, the rendering and the output rib file is ok.
But when I add attributes of varying width, the render output nothing.
The error message I got is like this:

{ERROR} “In correct number of varying float width ”width" valuees specified for RiCurves (got 601, expected 300)

Is it a bug? or I got some wrong settings?

p.s.
I have added Rendering Parameters for Renderman on the curves Obj to ensure the rendering work.

For curves, RIB expects values per “segment”. For linear curves, this matches the per-point attributes. For bsplines it doesn't.

If you change the width to be a “vertex float”, the counts are correct.

Please see application note 22 (or 19).
User Avatar
Member
18 posts
Joined: March 2012
Offline
It works.
Thanks!!
  • Quick Links