POV-Ray : Newsgroups : povray.binaries.animations : Wind Algorithm, Take 2 (MPEG, 192kb) : Wind Algorithm, Take 2 (MPEG, 192kb) Server Time
19 Jul 2024 21:27:32 EDT (-0400)
  Wind Algorithm, Take 2 (MPEG, 192kb)  
From: Tim Nikias
Date: 4 Mar 2002 14:29:55
Message: <3C83CAF7.6CBC5FC6@gmx.de>
So, I've cleaned the code a little, using some suggestions
given earlier by Rune and Mark.

Particle start with a smooth-turbulenced initial direction,
but tend to move with the actual wind-direction (<1,0,0>)
after a given amount of time.

Result:
Particles spread out, at first smoothly, but it looks chaotic in
the end.
You recognize where particles begin to move with the wind,
as the expansion stops.

All in all, it just looks crappy. The algorithm isn't (in this system)
worth the effort. I could just randomly turbulence, or add
some random vector to be added to the position in the first
few seconds of a particle's lifetime, and it would
look the same. :-(

So I've decided to work on it so that it may be used to
create varying wind-direction and speed over time.
Sadly, non-I/O binds me to the issue that particles
may start with different initial settings, but when
you see a particle blown with wind-speeds of
5mph and a particle passing it with higher speed,
it would just look stupid.

So, finally, I decided to discard that idea. I'm pondering
a little about a different approach, but right now, I think
I'll just leave it.
It gave me some more ideas for an I/O system, as well
as some other nice stuff (for example leaves falling
to the ground tumbling), but we'll see.

Thanks for comments anyway!

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html


Post a reply to this message


Attachments:
Download 'smoke2.mpg' (193 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.