POV-Ray : Newsgroups : povray.general : Problem with CSG intersections : Re: Problem with CSG intersections Server Time
5 Aug 2024 12:15:06 EDT (-0400)
  Re: Problem with CSG intersections  
From: Warp
Date: 21 Sep 2002 12:26:35
Message: <3d8c9dbb@news.povray.org>
archie <arc### [at] hotmailcom> wrote:
> Is it possible the write a code that tells wether two CSG objects intersect
> or not?

  Nope.

  Intersection testing is one of the big problems in CG. You can
make approximations, but an exact method for any object can be
extremely difficult, if not impossible.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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