I am working with the AE3DExport script written by the urbanspaceman.
I am adding Blender functionality to the export section and have run into a snag on lights.
It seems there is no way to tell what kind of light an After Effects light is? Does anyone know of a way to detect the light type?
Also, working with the color of the light I am stuck. I know how to get the color
G.LIGHT_COLOR = layer.property("Color")
But how do I get access to the RGB elements of the color?
Here is my attempted Blender python output that fails.
"localLamp.R = " + G.LIGHT_COLOR+G.RET+
"localLamp.G = " + G.LIGHT_COLOR+G.RET+
"localLamp.B = " + G.LIGHT_COLOR+G.RET+
I assumed the color value was an array, but I get undefined from the above code.