POV-Ray : Newsgroups : povray.binaries.animations : Particle-Demo again! : Particle-Demo again! Server Time
20 Jul 2024 01:17:38 EDT (-0400)
  Particle-Demo again!  
From: Tim Nikias
Date: 4 Dec 2001 20:58:24
Message: <3C0D7E4A.E7DFE0DE@gmx.de>
So, here I've tried something new.

The particles start at a point (I know, not too realistic, a hose or so
would have been nice, but its bug-testing I'm doing, not final
rendering)
and head for the Tim-Bezier-Spline. I've implemented an algorithm which
tries to shoot the particles at a given designation with given speed,
since
using a direction-vector like:

  vlength(Target_Pos-Initial_Pos)

doesn't take gravity into consideration.

After that, the particles race on, smashing against the walls (I like
the
realistic particle movement in the only real corner of the image, way
in the back). You've got to notice that ceiling and floor have a
different
friction than the walls, since I wanted to prevent particles from flying
about
too crazy.

Hope you enjoy it!


Post a reply to this message


Attachments:
Download 't_2.mpg' (317 KB)

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