POV-Ray : Newsgroups : povray.advanced-users : Bounding Question #2 : Re: Bounding Question #2 Server Time
30 Jul 2024 12:19:51 EDT (-0400)
  Re: Bounding Question #2  
From: Nieminen Mika
Date: 13 Aug 1999 02:53:44
Message: <37b3c0f8@news.povray.org>
Remco de Korte <rem### [at] xs4allnl> wrote:
: I noticed my story wasn't quite accurate. I talked about planes, but in the code
: you can see I used (thin) boxes for that. Would that make any difference?

  I think yes.
  My idea more exactly: Leave the first plane/box alone but make a union
from all the planes/boxes behind it and bound this union with a box (or
cylinder) which is located at the hole in the first plane/box and which
covers this hole.
  Now povray will test intersections with the first plane/box and the
bounding box everywhere but in the hole, where it tests intesections with
all the planes/boxes (instead of testing intersections with all the
planes/boxes everywhere).

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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