2004-11-05 10:13 AM
2004-11-05 10:36 AM
2004-11-05 10:47 AM
2004-11-05 11:14 AM
2004-11-05 11:22 AM
2004-11-05 12:35 PM
2004-11-05 12:37 PM
2004-11-05 02:07 PM
How does the GDL lamp obtain its color from the color sampler wheel? I don't see anything in the script that makes the reference......Dwight:
2004-11-05 07:18 PM
Dwight wrote:The RGB values of the color picker in a lamp object settings dialog are put into the D, E, G parameters. For these, and the LW parameters, see:
How does the GDL lamp obtain its color from the color sampler wheel? I don't see anything in the script that makes the reference......
Passing color and point parametersGood luck, buddy!
When adding a color or a point parameter to a lightsource, you have to create an array as you see it in the following contracted example:
DIM colorRGB[3]
colorRGB[1] = D
colorRGB[2] = E
colorRGB[3] = F
light D * G/80, E * G/80, F * G/80,
...
distFalloff ADDITIONAL_DATA lwa_light = "LWA_LIgsspot",
...
LWA_LIgsspot_color = colorRGB,
...