camera {location <0,1,1> direction <0,0,1> up <0,1,0> right <1,0,0> look_at <0,-1,-1> } light_source {<2, 2, 6> color rgb<1,1,1>} light_source {<0, 15,10> color rgb<1,1,1>} light_source { <0, 20, 0> color rgb <1,1,1> area_light <-5,0,-5>, <5,0,5>, 5, 5 } background { rgb<1,1,1> } #declare SurfaceTexture = texture { pigment{ color rgb<1,0,0>} finish { phong 1.0 phong_size 10 reflection 0.1 diffuse 0.4 } } #declare rr=0.02; #macro T(P,Q,R) triangle{ P,Q,R texture{ SurfaceTexture} } cylinder{ P,Q, rr } cylinder{ Q,R, rr } cylinder{ R,P, rr } sphere {P, rr } sphere {Q, rr } sphere {R, rr } #end #object{ #include "surface.inc" texture{SurfaceTexture} rotate x*90 rotate y*180 rotate z*180 }