POV-Ray : Newsgroups : povray.general : Collison Detecion in Povray? : Re: Collison Detecion in Povray? Server Time
9 Aug 2024 01:25:00 EDT (-0400)
  Re: Collison Detecion in Povray?  
From: Chris Colefax
Date: 4 Sep 2000 19:41:55
Message: <39b43343@news.povray.org>
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

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