// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-11-07 10:36:05 by Felipe de Alvarenga Leite #include "colors.inc" plane { x, 500 texture { pigment { SkyBlue } finish { ambient 1 diffuse 0} } texture { pigment { bozo turbulence .5 color_map { [0 White] [1 White filter 1] } } finish { ambient 1 diffuse 0 } scale <1000, 250, 250> rotate <5, 45, 0> } } plane {y, -10 texture{ pigment{ checker color rgb <0, 0, 0> color rgb <1, 1, 1> } } } background{ color rgb < 0.9, 0.9, 0.9 > } light_source { < 5.00, 10.00, 5.00 > color rgb < 1.00, 1.00, 1.00 > } //light_source { // < 20.00, 10.00, 10.00 > // color rgb < 1.00, 1.00, 1.00 > //} camera { location < -20.00, 25.00, 20.00 > // right < 0.000, 0.00, 0.00 > // up < 0.00, 0.00, 0.00 > sky < 0.00, 1.00, 0.00 > look_at < 12.00, 2.00, 2.00 > } #declare A1 = <0, 0, 0>; #declare A2 = <11, 0, 0>; #declare A3 = <20, 0, 0>; #declare A4 = <22, 0, 0>; #declare A5 = <0, 0, 4>; #declare A6 = <11, 8, 4>; #declare A7 = <20, 8, 4>; #declare A8 = <22, 4, 4>; #declare A9 = <0, 0, 8>; #declare A10 = <11, 12, 8>; #declare A11 = <20, 12, 8>; #declare A12 = <22, 4, 8>; #declare A13 = <0, 0, 12>; #declare A14 = <11, 0, 12>; #declare A15 = <20, 0, 12>; #declare A16 = <22, 4, 12>; #declare B1 = <22, 0, 0>; #declare B2 = <24, 0, 0>; #declare B3 = <25, 0, 0>; #declare B4 = <27, 0, 0>; #declare B5 = <22, 4, 2>; #declare B6 = <24, 4, 2>; #declare B7 = <25, 4, 2>; #declare B8 = <27, 4, 2>; #declare B9 = <22, 4, 4>; #declare B10 = <24, 35, 4>; #declare B11 = <25, 35, 4>; #declare B12 = <27, 4, 4>; #declare B13 = <22, 4, 6>; #declare B14 = <24, 0, 6>; #declare B15 = <25, 0, 6>; #declare B16 = <27, 0, 6>; #declare patchA = 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 pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .5 } } #declare pontosA= union{ object{ sphere{A1, 0.1 texture {pigment{ color rgb <1, 0, 0>}}}} object{ sphere{A2, 0.1 texture {pigment{ color rgb <1, 0, 0>}}}} object{ sphere{A3, 0.1 texture {pigment{ color rgb <1, 0, 0>}}}} object{ sphere{A4, 0.1 texture {pigment{ color rgb <1, 0, 0>}}}} object{ sphere{A5, 0.1 texture {pigment{ color rgb <1, 0, 0>}}}} object{ sphere{A6, 0.1 texture {pigment{ color rgb <1, 0, 0>}}}} object{ sphere{A7, 0.1 texture {pigment{ color rgb <1, 0, 0>}}}} object{ 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>}}} } #declare patchB = 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 pigment {color rgb <0.7, 0.7, 0.7> } finish { reflection .75 phong 1 } } #declare pontosB= union{ sphere{B1, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B2, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B3, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B4, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B5, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B6, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B7, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B8, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B9, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B10, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B11, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B12, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B13, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B14, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B15, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} sphere{B16, 0.1 texture {pigment{ color rgb <1, 0, 0>}}} } // Aqui está a cena, finalmente: union { object {patchA} object {patchB} object {patchB translate <0, 0, 6>} }