#include "metals.inc" global_settings { //ambient_light rgb <1,1,1> //assumed_gamma 1.0 max_trace_level 100 max_intersections 200 } background { color rgb <0,0,0> } #declare VP = <0.5,0.3,0.4>; #declare VD = -VP; //#declare VP = <0,0,0.1>; //#declare VD = ; camera { fisheye location VP up y right x angle 180 sky <0,0,1> look_at VP + VD } light_source { <-2,0.1,0.2> color rgb 0.2*<0.2,0.2,1> } light_source { <2,0.1,0.2> color rgb 0.2*<0.2,1,0.2> } #declare finish2 = finish { ambient 0 diffuse 0 reflection 1 } #declare finish1 = finish { ambient 0 diffuse 1 brilliance 1 specular 1 reflection 1 phong 1 phong_size 200 metallic } // Ground plane plane { <0,0,1>,0 texture { //pigment { color rgb <0.2,0.7,0.2> } pigment { P_Brass3 } finish { finish1 } } } // Sphere sphere { <0,0,0>,1 translate <0,1,1> texture { //pigment { color rgb <0.7,0.2,0.2> } pigment { P_Copper1 } finish { finish1 } } } // Cylinder cylinder { <-10,0,0>, <10,0,0>, 1 translate <0,-1,1> texture { //pigment { color rgb <0.2,0.2,0.7> } pigment { P_Silver3 } finish { finish1 } } }