PDA

View Full Version : DP Light lscript options



nickdigital
07-05-2011, 04:08 PM
Do lscript parameters exist for the below?

Color temperature color

DP Dome
Max Limit
Backdrop>Brightness
Backdrop>Contrast
Backdrop>Hue
Backdrop>Saturation
Backdrop>Gamma
Icon Preview
Icon Preview Percent

walfridson
07-05-2011, 04:21 PM
think you might have to save and parse scene file, then load it when edited..

Lightwolf
07-05-2011, 04:31 PM
Nope, additional (custom) attributes aren't visible to LScript.
You've just stumbled across one reason for the re-write/re-vamp.

Having said that, Denis could implement a clever mechanism using the ComRing to change the values fro LScript, but it wouldn't be pretty.

Cheers,
Mike

nickdigital
07-05-2011, 04:48 PM
Is it just an issue that they're not documented? I'm going through his DP_light_ring.ls file and he has a total of 28 parameters that pertain to his DP Lights. I can certainly get a color vector but I'm unclear as to how to apply that to his light through lscript.

Lightwolf
07-05-2011, 04:49 PM
Is it just an issue that they're not documented? I'm going through his DP_light_ring.ls file and he has a total of 28 parameters that pertain to his DP Lights. I can certainly get a color vector but I'm unclear as to how to apply that to his light through lscript.
Ah, cool, so he makes them available through the Comring.

Since there's not standard method for that I'd ask him for some sample code.

Cheers,
Mike

dpont
07-10-2011, 12:40 PM
DP Lights have Color Mode, Color Reference, Lamp Type and Kelvin parameters
but no Color input, the panel interface just shows the result of the
above preset selections and there are accessible with Lscript.

The DP Dome light parameters listed in your post are not accessible,
I suppose that I skipped them because there's no
real interest to have more than one DP Dome light
in a scene, no need to batch this light type.

Denis.