POV-Ray : Newsgroups : povray.general : weird merge : Re: weird merge Server Time
11 Aug 2024 05:18:21 EDT (-0400)
  Re: weird merge  
From: Larry Fontaine
Date: 7 Sep 1999 17:41:21
Message: <37D584DE.28EE5EF3@isd.net>
Ron Parker wrote:

> It does matter.  Merge is actually an intersection, believe it or not,
>
> though it's not represented that way internally like difference is.
> Nevertheless, anything that's important for an intersection is
> important for a merge as well.
>
> merge {object a object b}
>
> is equivalent to (but perhaps a little faster than)
>
> intersection {object {a inverse} object {b inverse} inverse }

In addition to this,
   difference { object a object b }
is the same as
   intersection { object a object {b inverse } }

I think the latter computes faster? Maybe bounding is more accurate because in
diff. you have to specify your own bound...


Post a reply to this message

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