移動 translate

次は移動です。
これは一番単純で、指定した分物体を動かせます。

#include "colors.inc"

camera { location<15,40,-45> look_at<15,0,0> }
light_source { <-30,30,-30> color rgb 1 }

plane { y,0 pigment { checker color White, color Gray50 } scale 10 }

box { <-5,0,-5>,<5,10,5> pigment { color Cyan } }

box { <-5,0,-5>,<5,10,5> translate<30,0,0> pigment { color Turquoise } }//x方向に30移動しています。