|
Monica Balut
Beam-Me
Join date: 18 Feb 2007
Posts: 311
|
12-10-2007 14:08
Do anyone know the math to set the complementary color for any given color? It seems that it would involve multiply the color vector by some other vector or applying some operator, but it just doesn't come to me what it should be.
|
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
12-10-2007 14:44
In what color model? For RGB (and that might not be what you want), you can simply subtract your original color vector from <1.0,1.0,1.0>.
|
|
Monica Balut
Beam-Me
Join date: 18 Feb 2007
Posts: 311
|
12-10-2007 15:05
For the vectors used in llSetColor this works fine. Thank you.
|