The Hue Cycle script cycles through the color (hue) of an object, single prim, single
face or multiple prims and faces in configurable speed. It works on sculpties and mesh
as well as simple prims. If you configure it to emit light, it changes the light color,
too. This can be used as a great effect for store logos, club floors, room illumination
etc. You can also specify a color to add to the hue, e.g. for less vibrant colors. To
adjust the parameters, please edit the script and change the customizable constants at
the top. By default, it changes all faces of the prim that contains the script.
The script will now keep alpha (transparency) intact. However, this only works if you
specify single faces; if you use ALL_SIDES, it gets the alpha from face 0 and applies it
to all faces. If you have different transparencies, please specify the faces separately
in the script. This will come with a performance penalty, though, because changing
multiple prims and/or faces takes more time than just changing one (ALL_SIDES is done in
one step).
Please note that the alphas are taken on startup and not anymore while the script is
running. Getting the current alpha value is an expensive operation and causes the script
to sleep for 0.2 seconds, thus making smooth animations impossible if alpha was to be
taken during every animation step. This means you can't use another script (e.g. a HUD)
to hide/show an object which also uses the Hue Cycle script, at least not by setting the
alpha value (setting a transparent etxture would work). If you don't want to change any
transparencies, this is of no concern.
The Hue Cycle script is full perm. It's licensed under the BSD license with the addition
that it must not be resold or otherwise given away standalone in parts or as whole. It
can be used in your creations as long as these license conditions are met.
Please use the original scripts, keeping script name and creator intact, and remember to
change script permissions to copy or transfer only before you put your products on sale.
To update or redeliver a product, wear the included Updater and follow the instructions.
Store policies and info about custom scripting at my MP store and the inworld terminals.
- Cycle through hue
- Configurable speed and prim/face
- Light emitting can be enabled
- Optimized calculations for low lag
- Full perm, BSD license
Perfect script for what I wanted.
You can edit the light output in the script as well.
Used on mesh to make pulsing tree lights!
https://i.gyazo.com/thumb/1200/_f39f0e5be7adf1df84f58ef2d0e2376a-gif.gif
Nice
Works exactly as I wanted it to...colour cycling on 4 separate linked mesh letters in a linkset. Nice work :-)
Very nice effects and 5 stars customer support!
Very nice effects and 5 stars customer support!