|
|
Three scenes, in the first cutaway_textures works, in second and third
not. Default texture is used at the cut.
---------------------------------------------------
Scene 1:
#version unofficial MegaPov 0.6;
camera {location <-2, 3, -5> up <0, 1, 0> right <1, 0, 0> angle 60
look_at <-0.5, 0.5, 0>}
light_source {<20, 30, -50> color rgb 1}
plane {<0, 1, 0>, 0 pigment {color rgb 1}}
#declare Object1=sphere {<-1, 0, 0>, 2 pigment {color red 1}}
#declare Object2=sphere {< 1, 0, 0>, 2 pigment {color green 1}}
#declare Object3=plane {<0, 0, 1>, 0}
difference {
union {
object {Object1}
object {Object2}
}
object {Object3}
cutaway_textures
}
---------------------------------------------------
Scene 2:
#version unofficial MegaPov 0.6;
camera {location <-2, 3, -5> up <0, 1, 0> right <1, 0, 0> angle 60
look_at <-0.5, 0.5, 0>}
light_source {<20, 30, -50> color rgb 1}
plane {<0, 1, 0>, 0 pigment {color rgb 1}}
#declare Object1=sphere {<-1, 0, 0>, 2 pigment {color red 1}}
#declare Object2=sphere {< 1, 0, 0>, 2 pigment {color green 1}}
#declare Object3=union {
plane {<0, 0, 1>, 0}
sphere {<0, 0, 0>, 1}
}
difference {
union {
object {Object1}
object {Object2}
}
object {Object3}
cutaway_textures
}
---------------------------------------------------
Scene 3:
#version unofficial MegaPov 0.6;
#default {texture {pigment {color rgb 1}}}
camera {location <-2, 3, -5> up <0, 1, 0> right <1, 0, 0> angle 60
look_at <-0.5, 0.5, 0>}
light_source {<20, 30, -50> color rgb 1}
plane {<0, 1, 0>, 0 pigment {color rgb 1}}
#declare Object1=sphere {<-1, 0, 0>, 2 pigment {color red 1}}
#declare Object2=sphere {< 1, 0, 0>, 2 pigment {color green 1}}
#declare Object3=union {
plane {<0, 0, 1>, 0}
sphere {<0, 0, 0>, 1}
}
difference {
union {
object {Object1}
object {Object2}
}
object {Object3}
cutaway_textures
}
----------------------------------------------------------
Images below
Regards
Disnel
Post a reply to this message
Attachments:
Download 'cutaway1.jpeg.jpg' (3 KB)
Download 'cutaway2.jpeg.jpg' (3 KB)
Download 'cutaway3.jpeg.jpg' (3 KB)
Preview of image 'cutaway1.jpeg.jpg'
Preview of image 'cutaway2.jpeg.jpg'
Preview of image 'cutaway3.jpeg.jpg'
|
|