|
![](/i/fill.gif) |
Well, it's mathematical problem about orientation of box, in this exemple.
The box are positionned along an array-point,
but they are all in one orientation.
My question is :
how can I oriented each box in a direction, around one point_orientation, like
flower turn to the sun.
////////
#declare Dim_Camp =dimension_size( camp,1 );
union{
// outer loop -------------------
#declare NrX = 1; // start x
#while (NrX< Dim_Camp)
box{<-1.5,0,-.5>,<1.5,1,.5> pigment{Red} scale 2 rotate <0,0,0> translate
camp[NrX] }
#declare NrX = NrX + 1; // next Nr x
#end // --------------- end of loop x
// end of outer loop
Thanks
Post a reply to this message
|
![](/i/fill.gif) |