POV-Ray : Newsgroups : povray.advanced-users : collision detection : Re: collision detection Server Time
29 Jul 2024 18:20:49 EDT (-0400)
  Re: collision detection  
From: Christoph Hormann
Date: 22 Feb 2001 10:27:46
Message: <3A952FF1.C3480B75@gmx.de>
Paul Jones wrote:
> 
> How can I create a collision detection routine? More specifically, what
> do I look at to determine if two objects have collided in pov-space ? I
> can figure it out with...say... unit spheres, that is easy, but what
> about rotated cubes and more oddly shaped objects??
> 

In general that's a very difficult task, one method would be doing a lot
of tests with 'trace'.  

Finding out whether two boxes collide could for example be done by
'tracing' along all their edges.  

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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