Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

What if I wanted a flicker?

Amiz Munro
Registered User
Join date: 8 Jul 2008
Posts: 54
02-03-2009 09:47
I have this star drawn in PSP then copied and rotated it. I want to make an animated flicker or twinkle effect with the two textures with a texture emitter.
My question is:
Am I on the right path, how do I animate these to get the twinkle effect from my texture emitter?
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
02-03-2009 11:12
That's a good path. Adding a particle script will help a lot. Visit the Particle Laboratory in world to see how to do it if you don't know already. I can't get in to grab a LM for you right now, but you can find the place very easily by doing a Search. As for your two textures, you can alternate between them with a simple script.
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
02-03-2009 11:53
Particles are one way to go. Another is to animate the texture.

SL utilizes "filmstrip" style animation. All frames of the animation go onto a single canvas, which you apply to your object. Then you use a script to tell the object which part of the canvas to display when. For a simple twinkle effect, you only need to cycle through two or three frames, a really easy setup.

You'll find an example texture animation script in your library. See http://wiki.secondlife.com/wiki/LlSetTextureAnim for an explanation of all the variables.
_____________________
.

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.
amiz Georgette
Registered User
Join date: 8 Jul 2008
Posts: 22
02-19-2009 07:06
ohh!! thanks so much!! Now i have my texture working like I want.. on to the script to recongnize the object to poof out when its near.

Thank you thank you and thank you!