Hey all.
Long winded, but the question I’m asking isn’t specific, just a general theory question. Shouldn’t be hard for advanced TDs that have been doing this stuff for a while.
I just created the foundation for a script that will be in essence a product light rig. The idea behind this is to have a general light rig that adapts to camera position and “light rig origin”. Right now everything is driven by an expression, but is this the best way to build up? Should I attempt to reproduce the expression as a node tree (for expand-ability purposes for features described below).
A video below to describe what I’m talking about. Imagine the small box is a camera and the big box is a light with an eventual look-at constraint to the origin.
[video]https://youtu.be/P9kZb3_d9gU[/video]
The “light” is maintaining a specific angle offset from the camera as the locator is acting as origin. The goal here is to have it be able have the following functionality-
-Have tweak offset controls for each light
-Add, subtract lights from the rig
-Swap out light types (all vray driven) from different HDRI images of lights to things like a gradient softbox
-Be able to push all settings (number of lights, light types, any offsets, intensity values) into a .INI config file acting as a database so that the specific settings can be pushed back into the system.
So should I be using expressions here? Or would I be better served by creating a node tree which would be generated by a python script? I’m thinking Node tree by Python would be the most sensible route here.
Thanks,
9k