Hi ,
Under the hood , what is controlling the parameters on the light node. The asset just seems to have parameters exposed for the interface, no code , no scripts. I would like to know what is connecting to the toggle enabling it to turn the “ light ” on and off in the viewport for instance.
r
Light Object
3012 3 0- circusmonkey
- Member
- 2624 posts
- Joined: 8月 2006
- Offline
- Alanw
- Member
- 320 posts
- Joined: 8月 2007
- Offline
I can't speak for the “on / off” switch but most light parms are handled through soho via a light wrangler, which is a python script. If you visit the type properties for a light you'll notice the very last parameter is a string called “Light Wrangler” with a default value of “HoudiniLight”.
Browse to $HFS/houdini/soho/wranglers and you'll see HoudiniLightIFD.py HoudiniLightRIB.py, etc. These are responsible for which shader is being used for various light types and the mapping of parameters.
I think you could create your own wrangler and place it in $HOME/houdini10.0/soho if you had a light HDA that referenced it.
Browse to $HFS/houdini/soho/wranglers and you'll see HoudiniLightIFD.py HoudiniLightRIB.py, etc. These are responsible for which shader is being used for various light types and the mapping of parameters.
I think you could create your own wrangler and place it in $HOME/houdini10.0/soho if you had a light HDA that referenced it.
- edward
- Member
- 7726 posts
- Joined: 7月 2005
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: 8月 2006
- Offline
-
- Quick Links