View Full Version : TP - Particle lights flickering individual
thomastraum 08-22-2008, 12:07 AM Hi there,
I have a rather basic problem. I have a starfield of TP Particles as lights. Now I want to make each light flicker randomly, if I apply a flickr xpresso to the src light all particles flicker the same but not individually.
How can I make each particle flicker unique?
Thanks,
Tommi
|
|
Animate the flickering by animating the materials assigned to the particle (linkfield in the material tag). Now the flickering will be based on each particles individual age and if you use the DT factor (which slows down or speeds up a particles life speed). This way you get differeing flickers for all particles.
Cheers
Björn
thomastraum
08-24-2008, 03:59 PM
Hi Srek,
thanks that works. Even though its a light, so I guess in that case I just animate the light in the timeline in a random way.
Besides that, I was always wondering how to access properties of the single particle once they are a TParticle. I know I can control them via GetData node, but I cant control anything of the actual instance of the object used. Like for example how would you shoot off 1000 particle lights which all start at the same time, but each one has a random color or a specific color, like a interpolated color between two colors?
Nope, there is no control over this. I usualy fake it by animating the properties i need to change and manipulating the particles age.
Cheers
Björn
bandini
08-25-2008, 08:17 PM
Instead of PShape node, use a mograph cloner with your particle group as the cloner source. You can then use Mograph Random effector or shader effector to control the color of your lights.
You can also use this system instead of Srek's multishape emitter preset, if needed, to assign different shapes to a single particle group by placing different objects as children of the Cloner Object.
Hi Srek,
thanks that works. Even though its a light, so I guess in that case I just animate the light in the timeline in a random way.
Besides that, I was always wondering how to access properties of the single particle once they are a TParticle. I know I can control them via GetData node, but I cant control anything of the actual instance of the object used. Like for example how would you shoot off 1000 particle lights which all start at the same time, but each one has a random color or a specific color, like a interpolated color between two colors?
thomastraum
08-25-2008, 08:37 PM
bandini thats the coolest trick ever, I didn't know this is possible, opens so many doors!
thank you both so much for your answers!
Tommi
If you animate a light flicker you can use the Time Offset function within the random effector to offset the light animation. You only need to animate one cycle as you can set it to loop. You do this within the cloner object on the transform page.
HTH
bandini
08-26-2008, 04:15 AM
According to Per, there is a pretty significant render/viewport speed increase when using Mograph clones instead of PShape for geometry. You can also Cache particles this way, using the mograph cache tag.
A very cool trick, indeed.
bandini thats the coolest trick ever, I didn't know this is possible, opens so many doors!
thank you both so much for your answers!
Tommi
CGTalk Moderation
08-26-2008, 04:15 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.