POV-Ray : Newsgroups : povray.general : Output Statistics Questions : Re: Output Statistics Questions Server Time
3 Aug 2024 16:21:04 EDT (-0400)
  Re: Output Statistics Questions  
From: Chambers
Date: 18 Mar 2004 15:25:16
Message: <405a05ac$1@news.povray.org>
"How Camp" <kro### [at] hotmailcom> wrote in message
news:u5qj50tm6ptd8vcvpuih4e0mk3afpleis1@4ax.com...
> On Thu, 18 Mar 2004 09:35:50 -0800, Darren New <dne### [at] sanrrcom>
> >   intersection ( union (A,B,C), X inverted )
> >X really only affects C, So if A fills your whole screen, and X really
> >only chops part of C out, rays hitting A still have to check against X.
>
> Yes, I see it, now.  So, using your example above:
>
>  intersection( union(A, B, C), X inverted)
>
> How would I optimize the bounding boxes in this situation?

If X only affects C, wouldn't the following work?
union( A, B, intersection(C, ~X) )

(Using ~ for inversion)

-- 
...Chambers
http://www.geocities.com/bdchambers79


Post a reply to this message

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