// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-11-09 12:14:05 by Felipe de Alvarenga Leite #include "colors.inc" #include "stones.inc" plane{ y, -2.5 pigment{granite scale 1.5} } background{ color rgb < 0.1, 0.1, 0.1 > } light_source { < 0.00, 5.00, -12.00 > color rgb < 1.00, 1.00, 1.00 > } light_source { < 15.00, 15.00, -15.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 18.00, 18.00, -26.00 > // right < 0.000, 0.00, 0.00 > // up < 0.00, 0.00, 0.00 > sky < 0.00, 1.00, 0.00 > look_at < 5.00, 5.00, 0.00 > } #declare esfera= sphere{ <0, 0, 0>, 3 texture { pigment {color rgb<0.5, 0.5, 0.5> } finish { phong 1 reflection .75 } } } #declare parede= blob { threshold .01 sphere{ <0, 0, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <0, 2.99, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <0, 5.98, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <0, 7.97, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <2.99, 0, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <2.99, 2.99, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <2.99, 5.98, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <2.99, 7.97, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <5.98, 0, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <5.98, 2.99, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <5.98, 5.98, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <5.98, 7.97, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <7.97, 0, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <7.97, 2.99, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <7.97, 5.98, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} sphere{ <7.97, 7.97, 0>, 3 0.1 texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} } #declare copo= union{ object{parede} object{parede rotate<0, 90, 0>} object{parede translate<0, 0, -7.97>} object{parede rotate<0, 90, 0> translate<7.97, 0, 0>} } #declare diff= difference{ object{copo} box{ <-4, -4, -12> <12, 0, 12>} } #declare fim= union{ object{diff} box{ <-2.5, -0.5, -10> <10, 0.1, 3.1> texture { pigment {color rgb<0.3, 0.3, 0.3> } finish { phong 1 reflection .75}}} } object{fim}