Hey Everyone !
Is it possible to get Geometry attributes in to the RIS networks in Houdini 15 ?
I can get them to work in the RIB side of things but not in the RIS networks
anybody got an idea ?
Thank you so much for your time !
regards
Geometry Attributes in Renderman 20 RIS
4402 4 1- Chris Hoffmann
- Member
- 2 posts
- Joined: July 2014
- Offline
- keyframe
- Member
- 1529 posts
- Joined: July 2005
- Offline
- Chris Hoffmann
- Member
- 2 posts
- Joined: July 2014
- Offline
- rafal
- Staff
- 1449 posts
- Joined: July 2005
- Offline
I guess usually you load geometry from file, which means it already contains custom attributes which you can reference in primvar shader.
Otherwise, when you use Houdini geometry straight up, soho needs to write it out to .rib. There is not much documentation, but you can look at buildRixlateList() in RIBsohogeo.py.
It contains a list of attributes that are readily exportable to .rib (ie, Cd, Alpha, N, uv, rest, and pscale). It also hints as how to write out custom attributes. Namely, you will need to add an explicit “rixlate” detail attribute that lists them. It's a string or string array attribute, and value is of the format “AttribClass:HoudiniAttribName:RibAttribName:AttribType:Component”, and you can skip the “Component” part. Check out the attached example.
Otherwise, when you use Houdini geometry straight up, soho needs to write it out to .rib. There is not much documentation, but you can look at buildRixlateList() in RIBsohogeo.py.
It contains a list of attributes that are readily exportable to .rib (ie, Cd, Alpha, N, uv, rest, and pscale). It also hints as how to write out custom attributes. Namely, you will need to add an explicit “rixlate” detail attribute that lists them. It's a string or string array attribute, and value is of the format “AttribClass:HoudiniAttribName:RibAttribName:AttribType:Component”, and you can skip the “Component” part. Check out the attached example.
- rafal
- Staff
- 1449 posts
- Joined: July 2005
- Offline
-
- Quick Links