|
|
"Chris B" <nom### [at] nomailcom> wrote in message
news:486f850b@news.povray.org...
> The downside to this hack is that your camera ends up technically 'inside'
> the object which will mess up interior features like media if you want to
> use them in the same scene.
Actually I just realised that the following small change should remove or
minimalise the impact of that downside:
Regards,
Chris B.
camera {location <0,0,-4> look_at 0 }
light_source {<-1,0 ,-4>, rgb 3}
#declare MyObject = intersection {
box {-1,1 pigment {agate scale 2} }
sphere {0,1.25 pigment {agate scale 2}}
}
#declare MyObjectWithSpheres = difference {
object {MyObject inverse}
sphere {<0,-0.3,-1.04>,0.04}
sphere {<0.5,0.5,-1.04>,0.04}
cutaway_textures
}
intersection {
sphere {0,1.33 pigment {rgbt 1}}
object {MyObjectWithSpheres}
}
Post a reply to this message
|
|