POV-Ray : Newsgroups : povray.beta-test : merge working like union : merge working like union Server Time: 22 Nov 2017 11:03:00 GMT
  merge working like union  
From: Slime
Date: 19 Apr 2005 01:17:47
It seems that the merge{} structure doesn't elliminate internal surfaces as
it should; see this scene:

camera {
 location -10*z
 look_at z
}
merge {
 sphere {x,2}
 sphere {-x,2}
 pigment {rgbt .9}
 finish {ambient 1}
}

Manually constructing the merge doesn't work either:

intersection {
 sphere {x,2 inverse}
 sphere {-x,2 inverse}
 pigment {rgbt .9}
 finish {ambient 1}
 inverse
}

Although if you remove the final 'inverse,' you do get the inverse of the
result you want.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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