// MC930 - Exemplo de main.pov para o trabalho final // Last edited on 2000-12-14 09:07:40 by mc726 #include "colors.inc" light_source { <40,30,-80> White } sky_sphere { pigment { gradient y color_map { [0.000 0.002 color rgb <1.0, 0.2, 0.0> color rgb <1.0, 0.2, 0.0>] [0.002 0.200 color rgb <0.8, 0.1, 0.0> color rgb <0.2, 0.2, 0.3>] } scale 2 translate -1 } pigment { bozo turbulence 0.65 octaves 6 omega 0.7 lambda 2 color_map { [0.0 0.1 color rgb <0.85, 0.85, 0.85> color rgb <0.75, 0.75, 0.75>] [0.1 0.5 color rgb <0.75, 0.75, 0.75> color rgbt <1, 1, 1, 1>] [0.5 1.0 color rgbt <1, 1, 1, 1> color rgbt <1, 1, 1, 1>] } scale <0.2, 0.5, 0.2> } rotate -135*x } camera { location <14,10,-140> look_at <10,5,9> angle 35 } plane { y,-0.2 texture { pigment { Silver } finish { reflection .35 specular 1 } normal { ripples .35 turbulence .5 scale .25 } } } #declare origem = < 0, 0, 0 >; //telhado #declare telhado = box{ <0,10,0>, <50,12,20> texture{ pigment{ color rgb < 0.8, 0.8, 0.8 > } finish{ diffuse 0.05 ambient 0.05 reflection 0.20 } } } // primeiro andar #declare contato = box { <2,0,18>,<3.5,2.5,16.5> pigment{ color rgb < 0.80, 0.90, 1.00 > } finish{ diffuse 0.9 ambient 0.05 specular 0.3 roughness 0.1 } } #declare predio = difference { box { <2,0,2>,<48,10,18> pigment{ color rgb <0.8,0.8,0.8> } finish{ diffuse 0.9 ambient 0.05 specular 0.3 roughness 0.1 } } box{ <28,0,0.1>,<30,0,2> pigment{ color rgb <0.8,0.8,0.8> } } } #declare saida = box { <-20,5,9>,<0,6,20> pigment{ color rgb <0.5,0.5,0.5> } } #declare toldo1 = box { <0,3.6,-1>,<48,4,0> texture{ pigment{ color rgb < 0.8, 0.8, 0.8 > } finish{ diffuse 0.05 ambient 0.05 reflection 0.20 } } } #declare toldo2 = box { <0,6,-1>,<48,6.5,0> texture{ pigment{ color rgb < 0.8, 0.8, 0.8 > } finish{ diffuse 0.05 ambient 0.05 reflection 0.20 } } } background{ color rgb < 0.90, 0.92, 0.95 > } object { telhado } object { contato } object { predio } object { saida } object { toldo1 } object { toldo2 }