POV-Ray : Newsgroups : povray.binaries.animations : Particle Algorithms : Re: Particle Algorithms Server Time
2 Nov 2024 13:17:22 EDT (-0400)
  Re: Particle Algorithms  
From: JRG
Date: 8 Dec 2001 18:01:41
Message: <3c129bd5$1@news.povray.org>
In my animations I use the centre of the particles and its radii to
calculate collisions along its velocity vector.
To avoid the problem you're showing here, I would use four more trace()s
along the same direction but starting from the frontier of the particles
rather than from the centre. You have to cover its envelope along its
velocity direction. I will try this and post the results as soon as I have
some time (I haven't raytraced for four days :-(

--
Jonathan.

"Tim Nikias" <Tim### [at] gmxde> ha scritto nel messaggio
news:3C125A3D.B348AD3B@gmx.de...
>
> What I was talking about now in more detail:
>
> If you shoot a particle in an angle, and the position calculated
> for the particle does just not touch the ceiling, but the radius
> of the particle does, how do you do that?
>
> I've attached a crude image that shows what I mean.
>
> Do you do some extra-trace()s and do a rough check of the near
> vicinity or what?
>


Post a reply to this message

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