#include "colors.inc" #include "textures.inc" #include "stones.inc" #include "skies.inc" background { color rgb<1.0, 1.0, 1.0>} light_source { < 10.00, -3.00, 10.00 > color rgb < 1.00, 1.00, 1.00 > } plane { y, 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> } } camera { location < 3.00, 0.00, 10.00 > right < -1.00, 0.00, 0.00 > up < 0.00, 0.00, 0.90 > sky < 0.00, 0.00, 1.00 > look_at < 1.50, 0.00, 6.00 > } plane { z,0 texture{ pigment { color rgb < 0.5, 0.5, 0.5 > } normal { granite 0.3 } } } #declare chao = union{ box { <-80, -3.5, -0.01>, <80, -3, 0.5 > texture{ pigment { color rgb < 0.9, 0.9, 0.9 > } normal { granite 0.3 } } } box { <-80, -3, -0.01>, <80, 3, 0 > texture{ pigment { color rgb < 0, 1, 0 > } normal { dents .075 scale .075 } } } box { <-80, 3, -0.01>, <80, 3.5, 0.5 > texture{ pigment { color rgb < 0.9, 0.9, 0.9 > } normal { granite 0.3 } } } } #declare pilar = union{ box { <-0.6, -3, 0>, <0.6, 3, 0.01> pigment { color rgb < 0.9, 0.9, 0.9> } } box { <-1.2, -1.2, 0>, <1.2, 1.2, 0.01> pigment { color rgb < 0.9, 0.9, 0.9> } } box { <-0.5, -0.3, 0.01 >, <0.5, 0.3, 5.2 > pigment { color rgb < 0.8, 0.8, 1 > } } box { <-0.5, 0.3, 1 >, <0.5, 0.301, 1.3 > pigment { color rgb < 1, 1, 1 > } } box { <-0.3, 0.30, 2 >, <0.3, 0.32, 2.6 > pigment { color rgb < 0.5, 0.5, 0.5 > } } box { <-0.3, 0.30, 3 >, <0.3, 0.32, 3.6 > pigment { color rgb < 0.5, 0.5, 0.5 > } } text { ttf "timrom.ttf" "\"O OBJETIVO DA EDUCACAO ESTA" 0.01, 0 pigment { color rgb < 1, 1, 1 > } scale <0.15, 0.15, 0.15> rotate x*90 rotate y*90 translate <0.3, -0.2995, 5> } text { ttf "timrom.ttf" "EM INVENTAR E REINVENTAR" 0.01, 0 pigment { color rgb < 1, 1, 1 > } scale <0.15, 0.15, 0.15> rotate x*90 rotate y*90 translate <0.1, -0.2995, 5> } text { ttf "timrom.ttf" "A CIVILIZACAO SEM BARBARIE\"" 0.01, 0 pigment { color rgb < 1, 1, 1 > } scale <0.15, 0.15, 0.15> rotate x*90 rotate y*90 translate <-0.1, -0.2995, 5> } text { ttf "brushsci.ttf" "- Florestan Fernandes" 0.01, 0 pigment { color rgb < 1, 1, 1 > } scale <0.1, 0.1, 0.1> rotate x*90 rotate y*90 translate <-0.3, -0.2995, 3.5> } text { ttf "ariblk.ttf" "CAMPINAS" 0.01, 0 pigment { color rgb < 0, 0, 1 > } scale <0.15, 0.15, 0.15> rotate x*90 rotate z*180 translate <0.43, 0.3, 1.15> } text { ttf "timrom.ttf" "Cidade Saudavel" 0.01, 0 pigment { color rgb < 0, 0, 1 > } scale <0.1, 0.1, 0.1> rotate x*90 rotate z*180 translate <0.35, 0.301, 1.05> } prism { linear_sweep linear_spline -0.3, // sweep the following shape from here ... 0.3, // ... up through here 3, // the number of points making up the shape ... <-0.5, 5.2>, < 0.5, 5.2>, <-0.5, 6.2> pigment { color rgb < 0.8, 0.8, 1 > } } } #declare livro = union { cylinder { <3.5, -1.2, 3.3>, // Center of one end <3.5, -1.2, 5>, // Center of other end 1.6 // Radius pigment { color rgb < 0.8, 0.8, 1 > } } cylinder { <3.5, 1.2, 3.3>, // Center of one end <3.5, 1.2, 5>, // Center of other end 1.6 // Radius pigment { color rgb < 0.8, 0.8, 1 > } } box { <4.0, -0.15, 3.299>, <4.3, 0.15, 5.01> pigment { color rgb < 0.8, 0.8, 1 > } } rotate y*(-45) } #declare textolivro = union { text { ttf "brushsci.ttf" "\"O objetivo d" 3, 0 pigment { color rgb < 1, 1, 1 > } scale <0.3, 0.3, 0.3> rotate z*90 rotate y*45 translate <0.1, -1.4, 6.7> } text { ttf "brushsci.ttf" "esta em invent" 3, 0 pigment { color rgb < 1, 1, 1 > } scale <0.3, 0.3, 0.3> rotate z*90 rotate y*45 translate <0.3, -1.4, 6.5> } text { ttf "brushsci.ttf" "reinventar a" 3, 0 pigment { color rgb < 1, 1, 1 > } scale <0.3, 0.3, 0.3> rotate z*90 rotate y*45 translate <0.5, -1.4, 6.3> } text { ttf "brushsci.ttf" "sem barbarie\"" 3, 0 pigment { color rgb < 1, 1, 1 > } scale <0.3, 0.3, 0.3> rotate z*90 rotate y*45 translate <0.7, -1.4, 6.1> } } #declare textolivro2 = union { text { ttf "brushsci.ttf" "a educacao" 3, 0 pigment { color rgb < 1, 1, 1 > } scale <0.3, 0.3, 0.3> rotate z*90 rotate y*45 translate <0.1, 0.1, 6.7> } } #declare podatexto = cylinder { <3.5, -1.2, 3.3>, // Center of one end <3.5, -1.2, 5.0>, // Center of other end 1.601 // Radius pigment { color rgb < 1, 1, 1 > } rotate y*(-45) } #declare podatexto2 = cylinder { <3.5, 1.2, 3.3>, // Center of one end <3.5, 1.2, 5.0>, // Center of other end 1.601 // Radius pigment { color rgb < 1, 1, 1 > } rotate y*(-45) } #declare buraco = union { cylinder { <3.5, 1.2, 3.299>, // Center of one end <3.5, 1.2, 5.01>, // Center of other end 1.3 // Radius pigment { color rgb < 0.8, 0.8, 1 > } } cylinder { <3.5, -1.2, 3.299>, // Center of one end <3.5, -1.2, 5.01>, // Center of other end 1.3 // Radius pigment { color rgb < 0.8, 0.8, 1 > } } box { <-2.0, -6, -2.5>, <3.5, 6, 5.5> pigment { color rgb < 0.9, 0.9, 0.9> } } box { <-2.0, -6, -2.5>, <6.5, -1.5, 5.5> pigment { color rgb < 0.9, 0.9, 0.9> } } box { <-2.0, 1.5, -2.5>, <6.5, 6.0, 5.5> pigment { color rgb < 0.9, 0.9, 0.9> } } } object { chao } object { pilar } difference { object { livro } object { buraco rotate y*(-45) } } intersection { object { textolivro } object { podatexto } } intersection { object { textolivro2 } object { podatexto2 } }