// Exercício número 3 - Aula de 26/05/2001 // Anderson Supriano - RA 7852 // Last edited on 2001-05-27 12:22:58 by stolfi background{ color rgb < 0.95, 0.98, 0.94 > } light_source { < -5, -0, -60 > color rgb < 1.00, 1.00, 1.00 > } #declare verde = texture { pigment { color rgb < 0.00, 1.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare vermelho = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare azul = texture { pigment { color rgb < 0.00, 0.00, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } camera { location < 5, 5, -10 > look_at < 0, 0, 0 > rotate -90*x rotate 90*z } light_source { < 8, 15, -15 > color rgb < 1.00, 1.00, 1.00 > } #declare corpo = union { cylinder {<0, -3, 0>, <0, 3, 0>, 1.5 texture {vermelho}} sphere {<0, -3, 0>, 1.5 texture {vermelho}} sphere {<0, 3, 0>, 1.5 texture {vermelho}} } #declare asa = box { <4.5, -1, -0.5>, <1.5, 1, 0.5> texture {verde}} #declare remo = union { box { <2.5, 2.8, -0.5>, <1.5, 3.2, 0.5> texture{azul}} box { <2.5, 2.5, -0.5>, <4, 3.5, 0.5> texture{azul}} } union { object {corpo} object {asa} object { asa translate <-6, 0, 0> } object {remo} object { remo rotate 180*y } }