和集合 union
言葉のとおり、足すことです。以下例
#include "colors.inc"
camera { location<0,30,-30> look_at<0,0,0> }
light_source { <-30,30,-30> color rgb 1 }
plane { y,0 pigment { checker color White, color Gray50 } scale 10 }
union { //これでくくると中の物体同士がくっつきます。
box { <-5,0,-5>,<5,10,5> pigment{color MediumTurquoise} }
box { <0,5,-5>,<10,15,5> pigment{color MediumTurquoise} }
}
この結果はこうなります。
