// Last edited on 2003-10-22 04:18:27 by stolfi global_settings { max_trace_level 10 } #declare ctr = < 0.00, -2.50, -1.00 >; #declare camdir = < 6.00, 13.00, 5.00 >; camera { location ctr + 1.00*camdir right -1.00*x up 0.75*y sky z look_at ctr } light_source { 100*< 0.00, 30.00, 40.00 > color rgb 1.2*< 1.00, 1.00, 1.00 > } light_source { 100*< 30.00, 0.00, 50.00 > color rgb 0.6*< 1.00, 1.00, 1.00 > } #include "colors.inc" background{ color rgb < 0.8, 0.70, 0.80 > } #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 } } #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} } } #declare caixa = box { < 3.00, 1.00, 1.00 >, < -3, -4, -1 > texture { tx_espelho } } #declare porta = box{ < 00, 00,00 > < 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 } } //CENA union{ //eixos // object{ eixoX } // object{ eixoY } object{ torre interior { ior 1.5} translate <2,0,-3> } object{ torre2 interior { ior 1.5} translate <-2,-3,-3> } union{ difference { object { caixa translate <0,0,-2> } object { porta translate <-3,-1,-3> } }//difference object { porta translate <-3,-1,-3> texture { tx_cristal2 } } }//union //chao object { plane {z,0} translate <0,0,-3> pigment {checker color White, color Gray } } }