POV-Ray : Newsgroups : povray.advanced-users : Intersection test for triangles : Re: Intersection test for triangles Server Time
30 Jul 2024 02:25:17 EDT (-0400)
  Re: Intersection test for triangles  
From: David Fontaine
Date: 24 May 2000 21:26:59
Message: <392C807F.D4BB4D78@faricy.net>
Ron Parker wrote:

> Not necessarily true, unless all the cubes are the same size.

? How can two cubes intersect if their faces never do?

> If you're intersecting cubes, and they're all the same size, and they're
> axis-aligned, it suffices to check whether any corner of either cube is
> inside the other cube.  If they're not axis-aligned but still the same
> size, you can check whether any edge of one cube intersects a face of the
> other cube.  (Likewise, to see if two triangles intersect, it suffices to
> check whether any edge of one triangle intersects the face of the other
> triangle.)

<Data> I assure you the set is sufficiently randomized. </Data>

> If you're using MegaPOV, you can use trace to determine whether they
> intersect.

*opening docs*

--
David Fontaine     <dav### [at] faricynet>     ICQ 55354965
Please visit my website: http://www.faricy.net/~davidf/


Post a reply to this message

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