POV-Ray : Newsgroups : povray.programming : 3D Object intersection tests : Re: 3D Object intersection tests Server Time
12 Jun 2024 16:10:38 EDT (-0400)
  Re: 3D Object intersection tests  
From: Le Forgeron
Date: 27 May 2013 14: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.


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-2023 Persistence of Vision Raytracer Pty. Ltd.