POV-Ray : Newsgroups : povray.binaries.animations : Particle Algorithms : Re: Particle Algorithms Server Time
20 Jul 2024 07:21:58 EDT (-0400)
  Re: Particle Algorithms  
From: Rune
Date: 9 Dec 2001 06:50:02
Message: <3c134fea@news.povray.org>
"David Buck" wrote:
> In ElastoLab, I actually test to see if the center of
> the particle comes within the radius distance of any
> barrier.  If anyone is interested in the math, I put
> the following comment into the code:

In my particle system barriers can only be sensed using the trace function
in POV-Ray 3.5. Thus I have no way of knowing the distance from a particle
to a barrier.

> Yet another interesting case is when you have two
> barriers that form an X shape and you drop the
> particle into the top of the X.  It should come to
> rest just above the center of the X.  It's very
> hard to prevent the particle from falling through.
>
> (If anyone has a good solution for that, I'd love
> to see it.

Though I'm not 100% sure, I think my system can handle that, but again, I
think it works fundamentally different than yours.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Nov 5)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

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