// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 20:06:05 by stolfi #include "colors.inc" background{ color rgb < 0.10, 0.80, 0.80 > } light_source { < 10.00, - 10.00, 0.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 3.00, -1.00, 1.00 > right < 2.40, 0.00, 0.00 > up < 0.00, 0.00, 1.80 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 0.30 > } #declare textura_1 = texture { scale 0.03 pigment { Yellow} normal { bumps 0.1 scale 0.1 } finish { phong 1 roughness 0.1 } } #declare textura_2 = texture { scale 0.3 pigment { Green } normal { bumps 0.1 scale 0.1 } finish { phong 1 roughness 0.4 } } #declare textura_3 = texture { scale 0.3 pigment { White } normal { bumps 0.1 scale 0.1 } finish { phong 1 roughness 0.4 } } blob { threshold .40 sphere { < .2, .6, .7 >, .4, 1 texture { textura_1 } } cylinder { < .2, .6, .7 >, < 0,0,0 > .4, 1 texture { textura_1 } } sphere { < 0, 0.00, 0.00 > , 1, 1 texture { textura_1 } } } blob { threshold .40 sphere { < 1, 0, -0.2 >, .4, 1 texture { textura_2 } } cylinder { < 1, 0, -0.2 >, < 1,1.0,0 > .4, 1 texture { textura_2 } } sphere { < 1, 1.0, 0.00 > , 1, 1 texture { textura_2 } } } #declare cabo1 = cone { < 1.00, 0.00, -.20>, 0 < 1.00, -.70, -.20>, 0.05 pigment { Brown } } #declare cabo2 = cone { < .20, .60, .70>, 0 < .20, 1, 0.90>, 0.05 pigment { Brown } } #declare caixa = box { < 5, 10, 10 >, < 1.2, -10, 10 > texture { textura_3 } } // Aqui está a cena, finalmente: union { object { cabo1 } object { cabo2 } }