POV-Ray : Newsgroups : povray.general : CSG troubles : Re: CSG troubles Server Time
30 Jul 2024 10:16:17 EDT (-0400)
  Re: CSG troubles  
From: clipka
Date: 9 Mar 2009 09:30:00
Message: <web.49b518ebda4bf64fabfc91e10@news.povray.org>
"stevenvh" <nomail@nomail> wrote:
> I wrote merge instead of intersection. Looks like
>
>     intersection { object{A} object{B inverse} }
>
> is the same as
>
>     merge { object{A inverse} object{B} }

As a matter of fact, the intersection is basically the same as

    merge { object{A inverse} object{B} inverse }

i.e. the *inverse* of your merge; but an object and its inverse are actually
undistinguishable (if opaque) unless you try to use them in CSG. That's because
their surface is the same (which is what POV renders when you use it just like
that in your scene), while their interior is flipped around (which is what POV
uses in CSG to "cut away" parts of the other objects' surfaces).


Post a reply to this message

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