// Fabio Negrello - exercicio 05 // ultima modificacao 09/11/00 background{ color rgb < 1, 1, 1 > } light_source { < -6.00, 15.00, 18.00 > color rgb < 1.50, 1.50, 1.50 > } camera { location < -6.00, 15.00, 18.00 > look_at < 0.00, 0.00, 0.00 > } #declare lateral = sphere { < 0.00, 0.00, 0.00 >, 5.0 scale < 1, 1, 2 > texture { pigment { color rgb < 1.00, 0.00, 0.00 > } } } #declare corte1 = box { < 0.1,-10,-11> < 10,10,11> texture { pigment { color rgb < 1.00, 0.00, 0.00 > } } } #declare corte2 = box { < -0.1,-10,-11> < -10,10,11> texture { pigment { color rgb < 1.00, 0.00, 0.00 > } } } #declare corteb = box { < -5,-10,-15> < 5,0,15> texture { pigment { color rgb < 1.00, 0.00, 0.00 > } } } #declare cortef = box { < -10,-10,0> < 10,10,-10> texture { pigment { color rgb < 1.00, 0.00, 0.00 > } } } #declare chamine = cylinder { < 0.00, 0.00, 0.00 >, < 0.00, 10.00, 0.00 >, 2.5 scale <1,1,1.5> texture { pigment { color rgb < 1.00, 0.250, 0.00 > } } } #declare chamineInt = cylinder { < 0.00, 0.00, 0.00 >, < 0.00, 11.00, 0.00 >, 2.3 scale <1,1,1.5> texture { pigment { color rgb < 1.00, 1.00, 0.00 > } } } #declare base = box { < -2.2,-0.2,10> < 2.2,0,0> texture { pigment { color rgb < 1.00, 0.00, 0.00 > } } } #declare divisoria = box { < -2.2,0,5.1> < 2.2,4.5,4.9> texture { pigment { color rgb < 1.00, 1.00, 0.00 > } } } #declare fundo = box { < -2.3,0,0> < 2.3,10,-0.2> texture { pigment { color rgb < 1.00, 1.00, 0.00 > } } } #declare P_WoodGrain3A = pigment { wood turbulence 0.04 octaves 3 scale <0.05, .05, 1> rotate <2,2,0> } #declare plano = box { < -50,0,-5> < 50,-1,50> texture { pigment { P_WoodGrain3A } } } difference { object{ chamine } object{ chamineInt } object{ cortef } } object{ plano } object{ base } object{ fundo } object{ divisoria } difference { object{ lateral } object{ corte1 } object{ corte2 } object{ corteb } object{ cortef } translate<2.2,0,0> } difference { object{ lateral } object{ corte1 } object{ corte2 } object{ corteb } object{ cortef } translate<-2.2,0,0> }