Jump to content

Renderman in Houdini: how to export "vertex point" attribute?


Recommended Posts

The question is in the title.

How do I force Houdini to export some point attribute as "vertex point" into rib, not as "varying point"?

I've got a simple setup scene to test how Houdini can export rest positions for renderman shaders:

untitled1.hip

The setup is simple:

  1. I've created the torus
  2. saved it's point positions to "rest" attribute
  3. moved the torus a little up
  4. using "Attribute" node, converted Houdini attribute to Renderman's "vertex point" attribute
  5. and, finally, applied "polygons as subdivisions" attribute to the object

If I render this, I get what I expected:

post-10135-0-01289800-1375197655_thumb.p

Smooth torus, slightly moved up.

Now, what I expect is "rest" attribute should be smoothed the same as P is. And therefore I can get smooth rest positions for furter shading.

To check this, I'm creating a simple shader which displaces points to the rest positions. So I should get smooth torus positioned at the origin. Right?

But here's what I get instead:

post-10135-0-48679800-1375197515_thumb.p

Yes, this is torus. And yes, it's positioned at the origin. But no, it's not smooth.

I've exported the rib to see how it's generated. And here's what I saw there:

post-10135-0-49101700-1375197854_thumb.p

While:

post-10135-0-95751400-1375198041_thumb.p

I've got Houdini 12.5.427, running under 64-bit Win7.

Am I missing something, or it's a bug?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...