// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-11-07 by samuel #include "colors.inc" background{ color rgb < 1, 1, 1 > } light_source { < 30.00, 30.00, 30.00 > color rgb < 1.00, 1.00, 1.00 > } plane { y, -12 texture { pigment { checker color Green color Yellow } } } camera { location < 30.00,20.00, 20.00 > // right < 2.40, 0.00, 0.00 > // up < 0.00, 0.00, 1.80 > sky < 0.00, 1.00, 0.00 > look_at < 0.00, 0.00, 0.00 > } //amarelo #declare amarelo = texture { pigment { color rgb < 1, 1, 0 > } finish {diffuse 0.8 specular 0.5 roughness 0.005 ambient 0.1 phong 1} } #declare vermelho = texture { pigment { color rgb < 1, 0, 0> } finish {phong 1} } #declare verde = texture { pigment { color rgb < 0, 1, 0> } normal { bumps 0.6 scale 0.2 } finish {phong 1} } #declare preto = texture { pigment { color rgb <0, 0, 0> } finish {phong 1} } //grupo 1 #declare a1 = <0, 0, 0 >; #declare a2 = <0, 7, 3 >; #declare a3 = <0, 3, 8 >; #declare a4 = <0, 8, 11>; #declare a5 = <2, 0 ,0 >; #declare a6 = <2, 6 ,3 >; #declare a7 = <2, 2 ,8 >; #declare a8 = <2, 7 ,11>; #declare a9 = <4, 0 ,0 >; #declare a10 = <4, 3 ,3 >; #declare a11 = <4, 1 ,8 >; #declare a12 = <4, 5 ,11>; #declare a13 = <6, 0 ,0 >; #declare a14 = <6, 1 ,3 >; #declare a15 = <6, 0 ,8 >; #declare a16 = <6, 3 ,11>; //grupo 2 #declare b1 = <0, 8,11>; #declare b2 = <0,14,17>; #declare b3 = <0,10,21>; #declare b4 = <0,0,22>; #declare b5 = <2,7,11>; #declare b6 = <2,13,17>; #declare b7 = <2,9,21>; #declare b8 = <2,0,22>; #declare b9 = <4,5,11>; #declare b10 = <4,11,17>; #declare b11 = <4,7,21>; #declare b12 = <4,0,22>; #declare b13 = <6,3,11>; #declare b14 = <6,9,17>; #declare b15 = <6,5,21>; #declare b16 = <6,0,22>; #declare figura = union { bicubic_patch { type 0 flatness 0.1 u_steps 4 v_steps 4, a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16 texture { pigment{ BrightGold} finish { ambient .1 diffuse .4 specular 1 roughness 0.001 reflection .8 metallic } } } bicubic_patch{ type 0 flatness 0.1 u_steps 4 v_steps 4, b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13,b14,b15,b16 texture { pigment { BrightGold } finish { ambient .1 diffuse .4 specular 1 roughness 0.001 reflection .8 metallic } } } } // Aqui a cena object {figura} sphere {a1, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a2, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a3, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a4, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a5, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a6, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a7, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a8, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a9, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a10, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a11, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a12, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a13, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a14, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a15, 0.1 texture {pigment {color rgb <1,0,0>}}} sphere {a16, 0.1 texture {pigment {color rgb <1,0,0>}}} object {figura scale <-1,1,1>}