#include "colors.inc" //light_source { <30,230,-80> White } #declare marrom = rgb <1.00,0.80,0.70>; #declare amarelo = rgb <1.00,1.00,0.00>; #declare cinza = rgb <0.50,0.50,0.50>; sky_sphere { pigment { gradient y color_map { [0.000 0.002 color rgb <0.0, 0.2, 1.0> color rgb <1.0, 0.2, 0.0>] [0.002 0.200 color rgb <0.0, 0.5, 0.8> 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 } light_source { <80,170,-50> White } camera { location <-23,44,-120> look_at <13,4,10> sky y angle 35 } plane { y,-0.2 texture { pigment { Silver } finish { ambient 0.05 specular 0.8 } normal { ripples .35 turbulence .5 scale .25 } } } #declare origem = < 0, 0, 0 >; //telhado #declare telhado = box{ <0,10,0>, <50,11,27> texture{ pigment{ color rgb < 0.8, 0.8, 0.8 > } finish{ diffuse 0.3 //ambient 0.05 reflection 0.10 } } } // 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 } } light_source { <24,9.5,10> Yellow } #declare predio = difference { box { <2,0,2>,<48,10,27> pigment{ color Gray//rgb <0.8,0.8,0.8> } // finish{ diffuse 0.9 ambient 0.05 specular 0.3 roughness 0.1 } } box{ <2.5,0,2.5>,<47.5,9.8,17.5> pigment{ color rgb <0.8,0.8,0.8>} } box{ <28,0,-1>,<30,2,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <28,3,-1>,<29,5,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <3,7,-1>,<4.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <6,7,-1>,<7.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <9,7,-1>,<10.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <12,7,-1>,<13.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <15,7,-1>,<16.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <18,7,-1>,<19.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <21,7,-1>,<22.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <24,7,-1>,<25.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <27,7,-1>,<28.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <30,7,-1>,<31.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <33,7,-1>,<34.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <36,7,-1>,<37.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <39,7,-1>,<40.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } box{ <42,7,-1>,<43.5,9,10> pigment{ color rgb <0.8,0.8,0.8>} } } #declare ruasvert = union { box { <-25,-0.1, 70> <-20, 0, -70> pigment { color Black } } #declare p = 0; #while (p < 140) box { <-22.5,-0.1, 70> <-22.7, 0.1, 69.5> pigment { color White } translate <0,0, -p> } #declare p = p + 2; #end } #declare ruashor = object {ruasvert rotate <0,90,0> translate <23,0,7> } #declare andradeneves = union { object {ruashor translate <0,0,-32> } object {ruashor translate <0,0,-37> } } #declare itapura = union { object {ruasvert translate <78,0,0> } object {ruasvert translate <82,0,0> } } #declare saida = box { <-17.5,5,16>,<2,5.7,27> pigment{ color rgb <0.5,0.5,0.5> } } #declare toldo1 = box { <2,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 { <2,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.3, 0.3, 0.5 > } #declare calcada = box { <-20,0,-3>,<52,0.2,29> pigment { Silver } } #declare lojaesquina = box { <-18,0.2,0>,<-10,2.8,16> texture { pigment { color rgb <1,0.8,0.7> } } } object { lojaesquina } object { telhado } object { contato } object { predio } object { saida } object { toldo1 } object { toldo2 } object { ruasvert } object { ruashor } object { andradeneves } object { itapura } object { calcada }