POV-Ray : Newsgroups : povray.programming : 3D Object intersection tests Server Time: 19 Aug 2019 13:56:50 GMT
  3D Object intersection tests (Message 1 to 2 of 2)  
From: Steaphany
Subject: 3D Object intersection tests
Date: 27 May 2013 18:15:01
Message: <web.51a3a1b8cb2bcff272bd51150@news.povray.org>
I've been searching through the documentation and haven't been able to find what
I'm looking for.

What are the functions and or tests that provide a means to test if two objects
are in contact, intersect, or whether one is contained by the other ?

Sorry if this is a MTFM.


Post a reply to this message

From: Le Forgeron
Subject: Re: 3D Object intersection tests
Date: 27 May 2013 18:34:33
Message: <51a3a739$1@news.povray.org>
Le 27/05/2013 20:11, Steaphany nous fit lire :
> I've been searching through the documentation and haven't been able to find what
> I'm looking for.
> 
> What are the functions and or tests that provide a means to test if two objects
> are in contact, intersect, or whether one is contained by the other ?
> 
> Sorry if this is a MTFM.

Hello,

please notice that povray.programming is not about the Scene Description
Language (SDL) (that's a common misconception, so just to set the ground
for further discussion).

> http://www.povray.org/resources/newsgroups/

Indeed, in the SDL, there is no such capability (IIRC).

In the source code, there is no point in such test either. The code
computes intersections of Ray with Objects, and might (when needed) used
the sorted list of intersections against the Inside test of an Object
(usually to reduce such list to less intersections, to respect the
requirements of CSG).


Post a reply to this message

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