Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Hue Rotation Script

VonGklugelstein Alter
Bedah Profeshinal Tekstur
Join date: 22 Dec 2007
Posts: 808
04-11-2008 07:19
Does anyone know where I can find a Hue Rotator?


Thanks
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
04-11-2008 07:22
These in the library should give you most of what you need. You can just walk the H values through the circle to get your changes.

http://wiki.secondlife.com/wiki/Color_conversion_scripts
_____________________
VonGklugelstein Alter
Bedah Profeshinal Tekstur
Join date: 22 Dec 2007
Posts: 808
04-14-2008 15:17
From: Viktoria Dovgal
These in the library should give you most of what you need. You can just walk the H values through the circle to get your changes.

http://wiki.secondlife.com/wiki/Color_conversion_scripts


Yes I saw that, I am looking for a script that changes the values continously as to rotate through the spectrum of colors.

thanks
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
04-14-2008 15:32
Ok, well you could use those functions to loop through and get the values, stuff them into a list, then loop through the list with llSetColor on a timer. But that' could be a recipe for lag even if you figure the colors ahead of time. You could instead make a texture with a strip of colors and use llSetTextureAnim to make the shifts, that should be less expensive.

And mentioning all that, a random brain cell just remembered that a recent thread also discussed this kind of thing, with other scripts possibilities.

/54/af/250927/1.html
_____________________