Jump to content

Facevarying


Recommended Posts

Does houdini support the facevarying class specifier? :unsure: If I remember correctly facevarying will allow me to have seperate textures on different primitives (faces) on the same SubD, and they will be interpolated.

For example

Grid- 4x4 polygon

UVProject- planar

Primitive1- Add Texture=grid.tex, Source Group= 1,

Primitive2- Add Texture=flowers.tex, Source Group= 2,

Attribute1- Renderman: texturemap -> texturename, uniform string

Shop1 - basic painted plastic

When i render this as a polygon object it renders as expected, one face has a grid texture, the other face has the flowers texture. But when its rendered as a SubD, it only uses one texture map for the surface. With facevarying things get interpolated on a per face per vertex basis, which will fix this problem...I think. :huh:

Any ideas? :)

Jason C.

Link to comment
Share on other sites

  • 6 years later...

So did anyone ever found out if Houdini can export facevarying attributes (st coords, etc)?

The Attribute SOP doesn't have "facevarying" in it's RenderMan mapping.

If it's not supported directly, can anyone please elaborate on how to get that information into Houdini-generated ribs? Thanks.

EDIT:

OdWiki has something on facevarying attributes on RenderMan subdivision surfaces, but it doesn't say how the information is exported to rib.

http://odforce.net/wiki/index.php/SubdivisionSurface

Edited by melazoma
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...