|
|
Dave Blandston <gra### [at] earthlinknet> wrote:
[snip]
> P.S. - You may find some tips in Chris Colefax's Explode.inc file - he has
> pieces of exploded objects bouncing off the floor.
Both my Object Exploder and Liquid Spray include files offer functions for
particle collisions with an arbitrary ground plane. Both files were created
for POV-Ray 3.0 originally (no macros, no file I/O, etc.), and so I used an
analytical, recursive while loop that allows each particle to bounce
multiple times before coming to rest (taking into account friction with the
ground plane).
For more generalised collision detection, Ron Parker's trace() function
(available in MegaPOV, will be in POV 3.5) should be a good start, although
a lot of POV scripting will still be required. It is something I personally
want to try my hand at, as part of a more comprehensive, generalised physics
simulation/approximation (see
http://www.geocities.com/ccolefax/projects.html)...
Post a reply to this message
|
|