|
![](/i/fill.gif) |
Andrej wrote:
> I would like to join spheres into a single object for easier manipulation
> (rotation for example):
>
>
> OBJECT {BALLS =
> {
> #declare Count=0;
> #while (Count < 5)
> sphere { <(-2+Count), Count, Count>, 1
> pigment { color rgb <0.4 0.8 0.8>}
> }
> #declare Count=Count+1;
> #end
> }
> }; ROTATE BALLS <0 90 45>
>
>
#declare BALLS = union
{
#declare Count=0;
#while (Count < 5)
sphere { <(-2+Count), Count, Count>, 1
pigment { color rgb <0.4 0.8 0.8>}
}
#declare Count=Count+1;
#end
}
object { BALLS rotate <0 90 45> }
--
~Mike
Things! Billions of them!
Post a reply to this message
|
![](/i/fill.gif) |