|
|
Hello!
transform is not transforming the bounding boxes in this release (beta
35). I think this happened already in beta 32 (if i remember). Again,
this code renders ok in pov 3.6:
global_settings{#if(version < 3.7) assumed_gamma 1 #end}
camera{location x*10+z*5+y*5 look_at 0}
light_source{(x+y)*10 1}
background{rgb <0.5,0.6,0.7>}
#declare T1= transform{translate x}
#declare Ob1= intersection{
sphere{0 10 translate -z*9.5}
sphere{0 10 translate z*9.5}
cylinder{z*2,-z*2 1 inverse}
pigment{red 1}
bounded_by{box{2.6, -2.6}}
transform{ T1}
}
#declare Ob2= intersection{
sphere{0 10 translate -x*9.5}
sphere{0 10 translate x*9.5}
cylinder{x*2,-x*2 1 inverse}
pigment{green 1}
bounded_by{box{2.6, -2.6}}
transform{ T1}
}
union{
object{Ob1} //<----- :?.. where is my bounding box!
object{Ob2}
transform{T1}
}
Thank you!
Post a reply to this message
|
|