// Last edited on DATE TIME by stolfi #include "colors.inc" #include "dados.inc" background{ color rgb < 0.9, 1.0, 0.95 > } light_source { < 0.00, 30.00, 30.00 > color rgb < 1.00, 1.00, 1.00 > } #declare ctr = < 0.00, 0.00, 0.00 >; #declare camDir = < -5.00, 16.00, 4.00 >; camera { location ctr + 1.00*camDir right -1.00*x up 0.75*y sky z look_at ctr } //TEXTURAS E CORES #declare cor_cristal = <1,0,0>; #declare cor_cristal2 = <1,1,0>; #declare tx_cristal = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001 } pigment { color cor_cristal filter 1} } #declare tx_cristal2 = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001 } pigment { color cor_cristal2 filter 1} } #declare cor_espelho = <0,0,1>; #declare tx_espelho = texture{ pigment { rgb Gray } finish { ambient 0.05 diffuse 0.05 reflection Gray specular 0.20 roughness 0.05 } } //EIXOS #declare eixoX = cylinder{ <3, 0, 0 > <-3, 0 ,0 > 0.1 texture { pigment { color Red filter 1}} } #declare eixoY = cylinder{ <0, 3, 0 > <0, -3 ,0 > 0.1 texture { pigment { color Blue filter 1} } } //OBJETOS #declare caixa = box { <0.500, 0.500, 5 >, <-0.500, -0.500, -0.500 > texture{pigment{ color Green}} } #declare porta = box{ < 0, 0,0 > < 2 ,2 ,1 > } #declare torre2 = cone { < 0.00, 0.00, 6.00 >, 0 < 0.00, 0.00, 0.00 >,1.50 texture { tx_cristal2 } } #declare torre = cone { < 0.00, 0.00, 6.00 >, 0 < 0.00, 0.00, 0.00 >,1.50 texture { tx_cristal } } #declare predio= difference { object { caixa translate <0,0,-2> } object { porta translate <-3.05,-0.95,-3.05> } } #declare umbral= torus{ .6 .1 texture {tx_espelho} } //CENA union{ object { plane {z,0} pigment {checker color White, color Gray } } }