// Last edited on 2009-07-23 13:44:17 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } global_settings { max_trace_level 10 } #declare colorDarkBlue = texture { pigment { color rgb < 0.00, 0.00, 0.80 > } finish { diffuse 0.8 specular 0.1 roughness 0.205 ambient 0.1 } } #declare colorLightBlue = texture { pigment { color rgb < 0.00, 0.40, 1.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.205 ambient 0.1 } } #declare colorDarkGreen = texture { pigment { color rgb < 0.00, 0.80, 0.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare colorLightGreen = texture { pigment { color rgb < 0.00, 1.00, 0.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare colorYellow = texture { pigment { color rgb < 1.00, 1.00, 0.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare colorGlassRed = texture { pigment { color rgb < 0.95, 0.05, 0.05 > filter 0.8 } finish { diffuse 0.1 ambient 0.1 } } #declare colorGlassRed1 = texture { pigment { color rgb < 0.95, 0.05, 0.05 > transmit 0.8 } finish { diffuse 0.1 ambient 0.1 } } #declare colorRed = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare colorBrown = texture { pigment { color rgb < 0.90, 0.90, 0.75 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare colorGrey = texture { pigment { color rgb < 0.70, 0.70, 0.70 > } finish { diffuse 0.8 specular 0.1 roughness 0.205 ambient 0.1 } } #declare colorGlassGrey = texture { pigment { color rgb < 0.70, 0.70, 0.70 > filter 0.8 } finish { diffuse 0.1 specular 0.5 roughness 0.205 ambient 0.1 } } #declare colorMetalGrey1 = texture { pigment { color rgb < 0.70, 0.70, 0.70 > } finish { diffuse 0.1 ambient 0.1 reflection 0.8 } } #declare colorMetalGrey2 = texture { pigment { color rgb < 0.50, 0.50, 0.50 > } finish { diffuse 0.3 ambient 0.2 reflection 0.5 } } #declare colorArray = array[6] {colorDarkBlue,colorLightBlue,colorDarkGreen,colorLightGreen,colorYellow,colorRed}; #declare eixos = merge { box { < 0, 0, 0 > , < 10, 0.1, 0.1 > texture { colorRed } } box { < 0, 0, 0 > , < 0.1, 10, 0.1 > texture { colorLightGreen } } box { < 0, 0, 0 > , < 0.1, 0.1, 10 > texture { colorLightBlue } } } #declare roleta = seed(011594); #declare j = 0; #declare k = 0; #declare deg = 90; #macro parede(n,deg) #if (n=0) union { box { < 0, 0, 0 > , < 2, 0.2, 1 > texture { colorYellow } translate < 0, 5, 0 > } box { < 0, 0, 0 > , < 2, 0.2, 1 > texture { colorYellow } translate < 2, 5, 0 > } box { < 0, 0, 0 > , < 2, 0.2, 1 > texture { colorYellow } translate < 4, 5, 0 > } box { < 0, 0, 0 > , < 2, 0.2, 1 > texture { colorYellow } translate < 6, 5, 0 > } box { < 0, 0, 0 > , < 2, 0.2, 1 > texture { colorYellow } translate < 8, 5, 0 > } translate < -5, 0, 0 > rotate < 0, 0, deg > } #else union { object { parede(n-1,deg) texture { colorBrown } translate < 0, 5, n > } object { parede(n-1,deg) texture { colorBrown } translate < 2, 5, n > } object { parede(n-1,deg) texture { colorBrown } translate < 4, 5, n > } object { parede(n-1,deg) texture { colorBrown } translate < 6, 5, n > } object { parede(n-1,deg) texture { colorBrown } translate < 8, 5, n > } translate < -5, 0, 0 > rotate < 0, 0, deg > } #end #end plane { z , 0 texture { pigment { checker rgb < 1, 1, 1 >, rgb < 0, 0, 0 > } finish { diffuse 0.5 ambient 0.5 } } scale 2 translate -10*z } object {eixos} #declare N = 4; #declare i = 0; union { #while (i < N) object { parede(i,deg*i) } #declare i = i+1; #end } // Original camera parameters: // #local cam_ctr = <0.00,1.00,4.00> // #local cam_vec = (<25.00,15.00,7.00>-<0.00,1.00,4.00>) // #local cam_sky = z #include "camlight.inc" camlight(<4.00,0.00,0.00>,<10,6,8>,30.0,z,1.0)