Sample:
#declare OrangeYellow = color rgb<1,0.85,0>;
#declare Ball1 =
sphere{<0,0,0>,1
texture{pigment{color OrangeYellow}
finish {ambient 0.25 diffuse 0.75 phong 1}}}
//----------------------------------------------------------
#declare Ball2 =
sphere{<0,0,0>,1
texture{pigment{color NeonPink}
finish {ambient 0.15 diffuse 0.85 phong 1}}}
//----------------------------------------------------------
object{Ball1 translate< 4, 0,-4>}
object{Ball1 translate< 4, 0, 0>}
object{Ball1 translate< 4, 0, 4>}
object{Ball1 translate< 4, 0, 8>}
object{Ball1 translate< 4, 2, 8>}
object{Ball1 translate< 4, 4, 8>}
object{Ball1 translate< 4, 6, 8>}
object{Ball1 translate< 4, 8, 8>}
object{Ball2 translate<-4, 2,0>}
object{Ball2 translate<-2, 2,0>}
object{Ball2 translate< 0, 2,0>}
object{Ball2 translate< 2, 2,0>}
object{Ball2 translate< 4, 2,0>}
object{Ball2 translate<-4, 2,4>}
object{Ball2 translate<-2, 2,4>}
object{Ball2 translate< 0, 2,4>}
object{Ball2 translate< 2, 2,4>}
object{Ball2 translate< 4, 2,4>} |