Iray light params
Neon22
Posts: 8
I have a user who wants to use the light panel plugin with iray lights.
I have been scraping the docs I can find but can't work out how to find the Iray Uber(?) light params.
Any help greatly appreciated:
Here's the panel: - https://github.com/Neon22/DazStudio-Light-Panel
Here's a pic of the existing UI and the newer Iray params.
Comments
Going by your image the Lighting Panel is for 3DLight and not Iray as Iray lights don't have shadow parameters. I use Iray Light Manager PRO
DzLight inherits DzCamera, which inherits DzNode, which inherits DzElement... which provides the base API for accessing properties... so that is one way. The inheritance hierarchy of DzLight subclasses, as with each class already mentioned, provides convenience methods for accessing specific properties in a faster (i.e., "find" involves a loop) and more direct (i.e., access a member variable) way. If you use the for..in loop approach that has been shown (and is often referred back to) to inspect the accessible (albeit undocumented in some cases) APIs and you filter out everything except the methods that match the "get*Control()" naming pattern, you will have a list of said convenience methods for a node of a given type.
Sorry, didn't realise I was in the Scripts forum just ignore me
@fishtales thanks. Yes that's pretty cool and close to where I was heading when I began my project so many years ago. Nice product at 25USD. I'll probably continue. My version has named light sets. So you can adjust all the params in a group that you allocate.
@chrisPalomino thanks. Indeed the inherited nature of the classes is one of the best design features of DazStudio. Thanks for the tip about the naming pattern. I'll trawl through your posts and find your mechanism. Sounds perfect.
Thanks...
-Rob
Thanks Rob, glad to see you're still here. Got it all running pretty smooth now eh :).