POV-Ray : Newsgroups : povray.binaries.scene-files : Need help with merge! : Re: Need help with merge! Server Time
2 Sep 2024 18:20:59 EDT (-0400)
  Re: Need help with merge!  
From: Bob Hughes
Date: 4 Jun 2000 02:10:35
Message: <3939f2db@news.povray.org>
Maybe this will help illustrate better.  I don't think it actually is in need
of 'inverse' anywhere upon checking it out more.

light_source { <10,10,-10> color rgb 1}
camera {
  location  <0,0,-5>
  angle 40
  look_at   <0,0,0>
}
background {rgb<1,1,1>}

difference { // plane slicing
difference { // merge used here leaves both globes
difference { // globe_1
sphere {0,1} sphere {0,.9}
}
difference { // globe_2
sphere {0,1} sphere {0,.9}
 scale <1,1.25,1> translate .5*y
}
}
 plane {z,0}
 pigment {rgbf<1,0,0,.5>}
 finish {specular .5}
}

This will do what you wanted I think.  I'm not sure what you were seeing
yourself.  'merge' will leave both globes behind though so maybe that was why
you thought it was solid.  Maybe...


Post a reply to this message

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