Found 23 posts.
Search results Show results as topic list.
Technical Discussion » send attributes to prman shader
- burnie
- 23 posts
- Offline
Technical Discussion » send attributes to prman shader
- burnie
- 23 posts
- Offline
Thanks for the quick response!
I have been looking into SOP attributes, but it seems I’m not doing it right.
For testing, I attached SOP_flatten (example included in HDK) to a sphere. This SOP has the parameter Distance (dist) which I would like to send to my shader. I therefore add an attribute to the flatten node and enter (in the RenderMan tab)
Houdini: `chs(“/obj/sphere_object1/flatten1/dist”)`
RiName: distance
RiType: uniform float
I export the scene to a rib-file but can’t find any attribute named distance.
Any ideas?
Thanks!
I have been looking into SOP attributes, but it seems I’m not doing it right.
For testing, I attached SOP_flatten (example included in HDK) to a sphere. This SOP has the parameter Distance (dist) which I would like to send to my shader. I therefore add an attribute to the flatten node and enter (in the RenderMan tab)
Houdini: `chs(“/obj/sphere_object1/flatten1/dist”)`
RiName: distance
RiType: uniform float
I export the scene to a rib-file but can’t find any attribute named distance.
Any ideas?
Thanks!
Technical Discussion » send attributes to prman shader
- burnie
- 23 posts
- Offline
I'm using a SOP to deform and let the user define settings for a surface. Then I would like to send these settings to prman displacement and surface shaders, where the final calculations are performed.
I would very much appreciate any suggestions on how to send settings and/or precalculated data to a prman shader.
Thanks!
I would very much appreciate any suggestions on how to send settings and/or precalculated data to a prman shader.
Thanks!
-
- Quick Links