Help-Random color
hi all,
I`m trying to make a small script
that can randomiz my vray light color.
How can i randomiz 5 specific colors?
Now my scrip is mixing all the values..
clr01=color 255 150 120
clr02=color 180 223 255
clr03=color 50 250 50
clr04=color 255 0 0
clr05=color 0 0 255
for o in selection do o.color = random clr01 clr05
thanx
Comments
...
bga
...
If you have many lights in the scene:
#1 and U want to randomize light color with predefined colors
then try this
#2 to randomize all light colors
bga
Great thanks! one question
Great thanks!
one question -
how can i random the color by temperature?
because when changing the temp i need to change the color
in the light parametes..
$.color_temperature = 5000
$.color = color 255 247.188 212.708
how can i bind them together when randomiz?