// cs174, assignment 1 sample file (RIGHT HANDED) camera { location <0, 0, 14> up <0, 1, 0> right <1.33333, 0, 0> look_at <0, 0, 0> } light_source {<-10, 10, 10> color rgb <0.9, 0.9, 1.0>} //nose sphere { <0, 3.5, -3>, 0.3 pigment { color rgb <1, 0.5, 0>} finish {ambient 0.4 diffuse 0.8} scale <1, 1, 3> translate <0, 0.3, 0> } //eyes sphere { <-0.5, 3.5, -3>, 0.2 pigment { color rgb <0, 0, 0>} finish {ambient 0.4 diffuse 0.8} } sphere { <0.5, 3.5, -3>, 0.2 pigment { color rgb <0, 0, 0>} finish {ambient 0.4 diffuse 0.8} } //head sphere { <0, 3.5, -5>, 2.0 pigment { color rgb <1.0, 1.0, 1.0>} finish {ambient 0.4 diffuse 0.8 reflection 0.1} } //mid body sphere { <0, 0.50, -5>, 2.5 pigment { color rgb <1.0, 1.0, 1.0>} finish {ambient 0.4 diffuse 0.8 reflection 0.1} } sphere { <2.5, 0.50, -5>, 1 pigment { color rgb <0.4, 0.2, 0>} finish {ambient 0.4 diffuse 0.8} scale <3, 0.25, 0.25> translate <-5, -1, 0> rotate <0, 0, 45> } sphere { <-2.5, 0.50, -5>, 1 pigment { color rgb <0.4, 0.2, 0>} finish {ambient 0.4 diffuse 0.8} scale <3, 0.25, 0.25> translate <5, 1.6, 0> rotate <0, 0, 45> } //buttons sphere { <0, -0.2, -2.5>, 0.2 pigment { color rgb <0, 0, 0>} finish {ambient 0.4 diffuse 0.8} } sphere { <0, 0.55, -2.5>, 0.2 pigment { color rgb <0, 0, 0>} finish {ambient 0.4 diffuse 0.8} } sphere { <0, 1.5, -2.5>, 0.2 pigment { color rgb <0, 0, 0>} finish {ambient 0.4 diffuse 0.8} } //bottom sphere { <0, -3.5, -5>, 3 pigment { color rgb <1.0, 1.0, 1.0>} finish {ambient 0.4 diffuse 0.8 reflection 0.1} } sphere { <0, -1.5, -2.5>, 0.25 pigment { color rgb <0, 0, 0>} finish {ambient 0.4 diffuse 0.8} } sphere { <0, -2.5, -2.25>, 0.25 pigment { color rgb <0, 0, 0>} finish {ambient 0.4 diffuse 0.8} } sphere { <0, -3.5, -2>, 0.25 pigment { color rgb <0, 0, 0>} finish {ambient 0.4 diffuse 0.8} } plane {<0, 1, 0>, -6 pigment {color rgb <1.0, 1.0, 1.0>} finish {ambient 0.5 diffuse 0.6} } plane {<0, 0, 1>, -20 pigment {color rgb <0.7, 0.7, 1.0>} finish {ambient 0.5 diffuse 0.6} }