Tapping into the Headlamp's Auto-Brightness

FrinkkyFrinkky Posts: 388
edited November 2020 in The Commons

Sometimes, an effect is needed similar to a camera flash. In the early days, I'd just use the camera headlamp. Unfortunately it doesn't have settings to alter the light color/temperature nor geometry shape or size (it does seem to generate a slightly soft shadow so I believe it isn't a point light). What it does have going for it is that it adapts its brightness so as not to over-expose an image when the camera is closer to the subject. At least it seems to...

These days I'll use a mesh or spotlight to mimic the camera flash - but of course it doesn't adapt to proximity so it requires manual adjustment. I'm just wondering, out loud, if it'd be possible to replicate adaptive brightness on a regular light?

Whilst I can work with javascript I wouldn't know where to find out about what parameters/values are exposed in Daz scripting nor what functions are available. I'm presuming the headlamp must have a script somewhere so even if it can't be transferred directly to a proper light, it might be possible to get a value from that script and use that as a multiplier for regular light's brightness/lumen output (eg. parent the light to the camera or similar). Perhaps? Maybe?

I'm just wondering if anyone has done anything like this or if any of the resident Daz scripting wizards might be able to offer any advice on the best place to start?

Any thoughts or suggestions most welcome!

Post edited by Frinkky on

Comments

Sign In or Register to comment.