// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 20:06:05 by stolfi background{ color rgb < 1.00, 1.0, 1.0 > } light_source { < 4.00, 5.00, -8.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 4.00, 10.00, 2.00 > right < -1.20, 0.00, 0.00 > up < 0.00, 0.00, 0.90 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 0.00 > } #declare raio = 2.000; #declare tinta_A = texture { pigment { color rgb < 0.10, 0.80, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare body = blob { threshold .9 //esfera maior sphere { < 0.00, 0.00, 0.00 >, 3.00 5 pigment { color rgb < 0.00, 1.0, 0.0 > } } //esfera menor sphere { < -2, 2.00, 0.00 >, 2.00 2 pigment { color rgb < 0.00, 1.0, 0.0 > } } finish { phong 1 } } //cenoura #declare cenoura = union { cone { <3,-4,0>, 0.2 <3,3,0>, 1 pigment { color rgb < 0.00, 1.0, 0.0 > } } cone { <3,3,0> .2 <3,4,0> .2 pigment { color rgb < 0.00, 1.0, 0.0 > } } rotate <45, 0, 0> translate <-3, 0, 0> } #declare caule = object { cone { <-2,2,0>, .2 <-4.5,2,0> .2 pigment { color rgb < 0.00, 1.0, 0.0 > } } } #declare frutao = union { object {body} object {cenoura} object {caule} } #declare superbox = box{ <-2,-2,-3>, <2,2,2> rotate <0,0,0> translate <2,2,0> pigment {color rgb <0,1,0>} } difference { object {frutao} object {superbox} }