Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

how to make blinking stars in a picture

Ron Spitteler
Registered User
Join date: 30 Jan 2007
Posts: 165
03-21-2008 06:52
I have a picture (texture on a prim) on which i would like to add blinking stars in the sky.

I suppose i need a script for it .... does anyone know where to get it?

Or are those jewelry-blibk scripts suitable for it?
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
03-21-2008 07:13
I'd probably go with an animated texture. Maybe 4 or 8 frames or so, with different stars "lit" in each. The "lighting" is purely a paint effect, of course. It won't cast actual light. To "light up" a particular star, simply grow it a little bit, and paint a glow gradient around it. If you paint it well, the effect could be very convincing.
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-21-2008 15:28
a econd layer with only your blinking stars would work also, then manipulate the transparency on and off.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Domino Marama
Domino Designs
Join date: 22 Sep 2006
Posts: 1,126
03-21-2008 17:16
You could also paint the stars in transparency. Then have a second layer behind that uses a low resolution image ( so 1 pixel covers 1 star on the main image ) with just your sky colour and white patches. Use a texture scroll script on that layer and the stars will blink as the white patches pass under the transparency.