POV-Ray : Newsgroups : povray.binaries.animations : Particle Algorithms : Re: Particle Algorithms Server Time
20 Jul 2024 01:22:06 EDT (-0400)
  Re: Particle Algorithms  
From: JRG
Date: 8 Dec 2001 18:10:31
Message: <3c129de7@news.povray.org>
No, the direction has to be the same. Think of your particle as a
sphere_sweep: you simply have to trace() from the centre and from some
points of the diameter normal to the velocity direction.

--
Jonathan.

"Tim Nikias" <Tim### [at] gmxde> ha scritto nel messaggio
news:3C129615.8BAE3640@gmx.de...
> >
> > My particle system does indeed only do collision detection using the
center
> > point of the particle as reference. I don't think there's much I can do
> > about that unfortunately...
> >
>
> Just a simple idea I had:
> If you have the direction the particle is heading, why don't you do a
> "axis-check"?
> Example:
> Particle flies in x-Direction.
> You also check some angles which differ from original angle up to
> 90 degrees or so.
> It's like creating a field-of-vision for the particles direction and
looking
> for intersections there.
>
> On the other hand, that might become pretty parsing-intensive...
>
> Perhaps the simple solution will work until someone has found some
ingenious
> way...
>
> By the way: I've just downloaded the POV-Ray3.5 Beta 8 and am making
> myself comfortable with it. Perhaps we'd see some "neat
awesome-action-packed-
> particle-animation" of *my taste* soon...
>
> No offense, just kidding.
>
> Tim
>
>


Post a reply to this message

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