|
|
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
|
|