PDA

View Full Version : formulae for calculating X and Y (perhaps Z) for Smoke etc.?



Firlefanz
13-11-2005, 09:15 AM
Hello,

I am not so good at maths.

I need a formula for calculating the X and Y coordinates for some nice looking smoke made of 2D particles, Z is not important but I could also use this to scale particles a bit.

This would be great.

If somebody has some other formula for nice particle effects that would also be great. Right now I am trying to do some rain, this should be simple enough for me!

Thanks,
Firle

JSoftware
13-11-2005, 10:57 AM
wouldn't perlin noise be good here?

Firlefanz
13-11-2005, 11:20 AM
I want some particles for 2 D Particles and wonder how to set their coordinates for some cool Effects like animated smoke. I think perlin noise is something for a non animated picture, not for particles, or am I wrong?

Firle

Paulius
13-11-2005, 11:29 AM
No need to generate noise or anything, linearly moving animated particles with slightly random movement direction, speed and lifetime should be enough, by slightly random I mean that particle direction should be more up than in other directions.

LP
13-11-2005, 03:46 PM
If your object moves, then you don't need to move your smoke particles at all - it will look as your object leaves smoke trail. Optionally, you may define some (low) random speed and move your particles at this speed, so the trail expands. If your object stays still, then perhaps a good approach would be defining some random direction and direct the particles there so it doesn't look like your object is throwing smoke in all directions. :)