|
|
I tried this:
#version 3.7 ;
background {color rgb 1/2}
global_settings {
assumed_gamma 1
max_trace_level 100 }
camera {
location <5, 1, -22>
look_at <-.5,0, 0>
angle 30
}
light_source{<00,200,-200> rgb <1,.9,.5> }
#macro Sphere1() sphere {<1,1,0>,1 pigment{rgb<1,0,0>}} #end
#macro Sphere2() sphere {<1,-1,0>,1 pigment{rgb<0,1,0>}} #end
#macro Sphere3() sphere {<-1,-1,0>,1 pigment{rgb<0,0,1>}} #end
#macro Sphere4() sphere {<-1,1,0>,1 pigment{rgb<1,0,1>}} #end
#declare Event_Name = array[2][2] {
{ Sphere1(),Sphere2()},
{ Sphere3(),Sphere4()}}
but get the error:
line 21: Parse Error: Insufficent number of initializers
John
Post a reply to this message
|
|