//Projeto Final MC930 //Nome: Ricardo Yugo Ito RA 971506 //Monumento: Biblioteca Central - BC background { color rgb <0.9, 0.9, 1> } light_source { <100, 100, 100> color rgb <1, 1, 1>} camera { location < 20.00, 20.00, 20.00 > up < 0.00, 0.00, 1.80 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 0.00 > } //----------------------------------------------------------------------------- // Cores, Texturas e eixos //----------------------------------------------------------------------------- #declare black_esc = texture { pigment { color rgb <0, 0, 0>}} #declare blue_esc = texture { pigment { color rgb <0, 0, 1>}} #declare green_esc = texture { pigment { color rgb <0, 1, 0>}} #declare red_esc = texture { pigment { color rgb <1, 0, 0>}} #declare white_ = texture { pigment { color rgb <1, 1, 0.7>} finish { diffuse 0.68 specular 0.06 roughness 0.005 ambient 0.3} } #declare green_grass = texture { pigment { color rgb <0.8, 1, 0.26>} normal { bumps 0.53 scale 0.1} finish { diffuse 0.68 specular 0.06 roughness 0.005 ambient 0.3} } #declare concreto = texture { pigment { color rgb <0.6, 0.6, 0.6>} normal { bumps 0.68 scale 0.08}} #declare eixos = union { cylinder { <0, 0, 0> <100, 0, 0> 0.07 texture { blue_esc }} cylinder { <0, 0, 0> <0, 100, 0> 0.27 texture { black_esc }} cylinder { <0, 0, 0> <0, 0, 100> 0.07 texture { red_esc }} } //----------------------------------------------------------------------------- // Planos //----------------------------------------------------------------------------- #declare plano = box { <18, 24, -6.5> <-18, -24, -6.4> texture { green_grass} } #declare plano2 = box { <12, 16, -6.4> <-12, -16, -0.5> texture { green_grass} } #declare plano_diag = box { <5, 16, 0.1> <-5, -16, -0.1> texture { green_grass} } #declare plano3 = object { plano_diag rotate <0, 37, 0> translate <16, 0, -3.4> } #declare plano_base = box { <10, 14, -0.5> <-10, -14, 0> texture { concreto} } //----------------------------------------------------------------------------- // Predios //----------------------------------------------------------------------------- #declare caixa_1 = box { <0.5, 0.75, 0> <-0.5, -0.75, 7.5> texture { white_ }} #declare caixa_2 = box { <0.5, 0.75, 0.2> <-0.5, -0.75, 7.5> rotate <0, 12, 0> translate <-1.7, 0, 0> texture { white_ }} #declare caixa_3 = box { <-0.3, -0.75, 0> <-1.3, 0.75, 3.5> texture { white_ }} #declare torre = union { object { caixa_1 } object { caixa_2 } object { caixa_3 } scale <0.8, 1.4, 1.1> } #declare predio_central = box { <2, 3, 0> <-2, -3, 5> texture { white_ }} //----------------------------------------------------------------------------- // Chamadas //----------------------------------------------------------------------------- object { eixos } object { plano } object { plano2 } object { plano3 } object { plano3 scale <-1, 0, 0> } object { plano_base } object { torre translate <1.8, -1.3, 0> rotate <0, 0, 180> scale <1.2, 0.8, 1.2>} object { torre translate <1.8, 1.3, 0> rotate <0, 0, 180> scale <1.2, 0.8, 1.2>} object { predio_central translate <1, 0, 0> scale <1.3, 1.3, 1.3>}