|
|
Here's what I have:
//start
#declare MyTorus = union {
#while (I<N)
torus {2,0.1 rotate <90,0,0> rotate<0, I*360/N,0>}
#declare I=I+1;
#end
light_source{<0,1,1> rgb <1,0.75,0>}
texture {
pigment {
color rgb <0.8,0.8,1.0>
}
finish{
diffuse 0.3
ambient 0.0
specular 0.6
reflection {
0.8
metallic
}
conserve_energy
}
}
}
object{ MyTorus scale<.5,.5,.5> translate<0,1.25,0> }
//end
Is there anyway to chage the MyTorus (yes almost directly from the
examples :)) to allow me to specify what color I want the lightsource in
the object declaration?
Post a reply to this message
|
|