POV-Ray : Newsgroups : povray.advanced-users : Quiz : Re: Solution Server Time
29 Jul 2024 10:25:04 EDT (-0400)
  Re: Solution  
From: Warp
Date: 30 May 2002 13:56:23
Message: <3cf667c6@news.povray.org>
Micha Riser <mri### [at] gmxnet> wrote:
> This has the consequence that a double-inverted union results in a merge!

  If you think about it, that's exactly the correct behaviour.

  An inverted union is everything outside the union. Now the "outside"
is everything that was "inside" the union. "Outside" doesn't have any surfaces
in it, but it's just empty space. Inverting a union implicitly "removes" all
the inner surfaces (because they are not inner anymore).
  Now if you invert this object, you get an object which is everything that
was "outside" the object. That is, the original union with the inner surfaces
removed.

-- 
#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.