// Monica Ap. Pires Nascimento - RA 7873 // Prof. Stolfi - Mestrado Profissional - Computação Gráfica - AVIÃO // Last edited on 2001-05-27 15:05:35 by stolfi // X , Y , Z camera { location < 16.00, 11.00, 15.00 > right < 1.20, 0.00, 0.00 > up < 0.00, 0.90, 0.00 > sky <0,1,0> look_at < -0.55, 2.00, 0.00 > } #declare tinta_verde = texture { pigment { color rgb < 0.00, 2.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_verdeclaro = texture { pigment { color rgb < 0.0, 2.0, 0.0 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_vermelha = texture { pigment { color rgb < 2.00, 000, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_roxo = texture { pigment { color rgb < 2.00, 000, 2.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_amarela = texture { pigment { color rgb < 3.00, 3.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } background{ color rgb < 1,1,1 > } light_source { < 40.00, 80.00, 50.00 > color rgb < 1.00, 1.00, 1.00 > } #declare aviao= union { cone { <5, 4, 1>, 4 <-12.5,2, 1>, 1 texture { pigment { color rgb < 2.00, 0.00, 0.00 > }}} sphere {<5.0,4, 1>, 4 texture { tinta_vermelha}} sphere { <-12.9,2, 1>, 1 texture { tinta_vermelha}} cylinder { <10.1,6.0,1>, <10.1,3,1>, 0.4 texture { pigment { color rgb < 0.00, 2.00, 0.00 > }}} cylinder { <-3.5,1,0>, <-4.8,-2.0, 0>, 0.4 texture { pigment { color rgb < 2.00, 0.00, 2.00 > }}} cylinder { <-6.9,1,0>, <-4.8,-2.2, 0>, 0.4 texture { pigment { color rgb < 2.00, 0.00, 2.00 > }}} cylinder { <6,1,0>, <3.5,-2.2, 0>, 0.4 texture { pigment { color rgb < 2.00, 0.00, 2.00 > }}} cylinder { <2.0,1,0>, <3.5,-2.2, 0>, 0.4 texture { pigment { color rgb < 2.00, 0.00, 2.00 > }}} sphere { <-4.8,-2.9,0>,2 texture { tinta_roxo }} sphere {<3.7,-2.9,0>,2 texture { tinta_roxo }} cylinder { <-5.3,3.0,5>, <-1.0,-2.5,5>, 0.4 texture { pigment { color rgb < 0.00, 0.00, 2.00 > }}} sphere {<-.8,-2.3,5>, .75 texture {pigment { color rgb < 0.00, 0.00, 2.00 > }}} box {<-1.5, -1.0,4>,<-.05, -2.5,4> texture {pigment { color rgb < 0.00, 0.00, 2.00 > }}} cylinder { <1.00,3.2,5>, <6.0,-2.0, 3>, 0.4 texture { pigment { color rgb < 0.00, 0.00, 2.00 > }}} sphere {<6.0,-2.0,5>, .75 texture {pigment { color rgb < 0.00, 0.00, 2.00 > }}} box {<5.6, -0.75,4>,<7.3, -2.5,4> texture {pigment { color rgb < 0.00, 0.00, 2.00 > }}} cone { <-11.5,3.0, 1>, 1.7 <-11.5,7, 1>, .2 texture { pigment { color rgb < 2.00, 2.00, 0.00 > }}} } // Aqui está a cena, finalmente object { aviao // rotate 10 * y }