// Last edited on 2001-06-09 22:18:28 by stolfi #include "colors.inc" #include "colors.inc" #include "metals.inc" #include "golds.inc" #include "stones1.inc" #include "textures.inc" background{ color rgb < 1.0, 1.0, 0.0 > } camera { location 0.6 * < 10.00, -35.00, 10.00 > right < -0.80, 0.00, 0.00 > up < 0.00, 0.00, 0.60 > sky < 0.00, 0.00, 1.00 > look_at < 0, 0, 0 > } background { color White } light_source{ <10, -15, 10> color 1.2 * White } #declare eixoX = cylinder { < -10, 0, 0 >, < 10, 0, 0 >, 0.03 pigment { Green } } #declare eixoY = cylinder { < 0,-15, 0 >, < 0, 10, 0 >, 0.03 pigment { Blue } } #declare eixoZ = cylinder { < 0, 0, -5 >, < 0, 0, 5 >, 0.03 pigment { Red} } #declare colunaq = box { <0,0,0>, <1,1,8> pigment {Gold } } #declare colunar = cylinder {<0.5,0.5,0>,<0.5,0.5,8>, 0.5 pigment {Silver}} #declare sustenta = box { <-2,-6,4>, <-3,25,5> pigment {Gold}} #declare transversal = box {<-3,5,4>,<5,6,5> pigment {Silver} } //plane{y, -10 pigment{Blue}} //plane{x, -10 pigment{Green}} //plane{z, -10 pigment{Red}} #declare gerador = seed(123456); #declare i=0; #while (i < 8) #if (mod(i,2) = 0) object { colunaq translate <3, (4*i)-4, -4> } object { colunaq translate <-3, (4*i)-4, -4>} #else object { colunar translate <3, (4*i)-4,-4> } object { colunar translate <-3,(4*i)-4,-4> } #end #if (rand (gerador) < 0.50) object {transversal} #end #declare i=i+1; #end object {sustenta} // eixoX // eixoY // eixoZ