// MC930 - Computacao Grafica // Oitavo Exercicio de laboratorio - 23/11/2000 // Luis Arthur Micai Nunes RA: 971106 background {color rgb <0.00, 0.00, 0.00> } light_source { < 15.00, 10.00,-5.00 > color rgb < 5.20, 5.20, 5.20 > } camera { location <15,4,-25> look_at<15,4, 40> } #declare fisica = union { sphere { <0,0,0>, 2 scale <2,1,1> translate <16,4,2> } cylinder { <0,-1,0>, <0,2,0>, 0.3 rotate <0,0,10> translate <16.5,1.6,0.9> } cylinder{ <0,-1,0>, <0,2,0>, 0.3 rotate<0,0,-10> translate <15,1.6,1.2> } cylinder { <0,0,0>, <0,4,0> 0.5 rotate <0,0,10> translate <14,4,2> } sphere{ <0,0,0>, 1 scale <2,1,1> translate <12,8,2> } box { <0,0,0> <1.5,1,0.5> translate < 12,8.7,2> } box { <0,0,0> <1.5,0.3,0.5> translate < 8,8,2> } } #declare chao = plane { y, -2 pigment { color rgb <.9,.9,.9> } } #declare espessura = 4; #declare amarelado = color rgb (1.0/espessura) * <1,1,0>; #declare galinha = object { fisica hollow pigment { color rgbt < 1,1,1,1> } interior { media { emission color amarelado } } } #declare olho = sphere { <12.5,8.4,2>, 0.1 texture { pigment { color rgb <1,0,0> } } } union { object {galinha} object {olho} object {chao} }