POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov collision detection : Re: MegaPov collision detection Server Time
28 Sep 2024 16:47:59 EDT (-0400)
  Re: MegaPov collision detection  
From: Christoph Hormann
Date: 16 Mar 2004 07:15:02
Message: <c36qv0$4ng$1@chho.imagico.de>
Daniel Jungmann wrote:
> Hi, 
>  
> collision detection in MegaPov is a cool feature, but it is verry slow,
> especialy mass-face collision. MegaPov spend most of it's time in the
> function func_triangle (file mechsim.cpp). A bounding system coud speed up
> the mass-face and mass-mass collision.
> What do you think of this idea?

Do you think recalculating a bounding tree after every simulation step 
will be faster in the end?

It would be possible to speed up the triangle function a bit since we 
don't actually need its value if it exceeds the mass radius of course.

To speed up collision calculations the mechsim patch has the possibility 
to group masses and only enable collisions between masses of different 
groups.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 07 Mar. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

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