HI
I am a student learning Houdini and renderman.
How can I use variables from other object to control a rman shader's attribute?
I tried
RIBshader “noiseShader” “noisefreq” “noiseoffset”
but it does not work. Can someone pls correct my mistake?
thanks!
assign parameters to a shader
2846 2 0- brucelay
- Member
- 313 posts
- Joined: July 2005
- Offline
- jason_iversen
- Member
- 12454 posts
- Joined: July 2005
- Online
You must use an expression to grab the value of the channel - the local variable $TX are only available inside certain of certain SOPs and it still doesn't mean what you're thinking it means.
You really want to do this instead:
`ch(“/obj/fog1/tx”)`
- instead of
/obj/fog1/$TX
You really want to do this instead:
`ch(“/obj/fog1/tx”)`
- instead of
/obj/fog1/$TX
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
also, http://www.odforce.net [www.odforce.net]
- brucelay
- Member
- 313 posts
- Joined: July 2005
- Offline
-
- Quick Links