// Last edited on 2019-06-29 00:16:16 by jstolfi // Tick-walled tubes: #declare tx_thick = texture{ pigment{ color rgb < 0.100, 0.800, 1.000 > } finish{ diffuse 0.800 ambient 0.100 specular 0.500 roughness 0.005 } } // Thin-walled tubes: #declare tx_thin = texture{ pigment{ color rgb < 1.000, 0.870, 0.100 > } finish{ diffuse 0.800 ambient 0.100 specular 0.500 roughness 0.005 } } // "L"-bars: #declare tx_L_bar = texture{ pigment{ color rgb < 0.300, 0.700, 0.100 > } finish{ diffuse 0.800 ambient 0.100 specular 0.500 roughness 0.005 } } // Wall plates: #declare tx_plate = texture{ pigment{ color rgb < 0.850, 0.950, 1.000 > filter 0.500 } finish{ diffuse 0.500 reflection 0.000 ambient 0.020 specular 0.250 roughness 0.005 } } // Cut surfaces: #declare tx_cut = texture{ pigment{ color rgb < 1.000, 0.300, 0.000 > } finish{ diffuse 0.800 ambient 0.100 specular 0.500 roughness 0.005 } } // Interior of tubes: #declare tx_hollow = texture{ pigment{ color rgb < 0.400, 0.500, 0.450 > } finish{ diffuse 0.800 ambient 0.100 specular 0.500 roughness 0.005 } } // Drawer rails: #declare tx_rails = texture{ pigment{ color rgb < 0.700, 0.720, 0.750 > } finish{ diffuse 0.800 ambient 0.020 specular 0.250 roughness 0.005 } } #declare tx_wood = texture{ pigment{ color rgb < 1.000, 0.900, 0.350 > } finish{ diffuse 0.900 ambient 0.100 } } #declare tx_tile = texture{ pigment{ checker color rgb < 1.000, 0.980, 0.950 >, color rgb < 0.500, 0.350, 0.050 > } finish{ diffuse 0.850 ambient 0.100 specular 0.150 roughness 0.005 } scale 1000 translate < -200, -200, 8 > } #declare tx_mirror = texture{ pigment{ color rgb < 1.000, 0.850, 0.300 > } finish{ diffuse 0.200 reflection 0.700*< 1.000, 0.850, 0.300 > ambient 0.100 } } #declare tx_plexiglas = texture{ pigment{ color rgb < 0.650, 0.850, 1.000 > filter 0.700 } finish{ diffuse 0.030 reflection 0.250 ambient 0.020 specular 0.250 roughness 0.005 } } #declare tx_glass = texture{ pigment{ color rgb < 0.850, 0.950, 1.000 > filter 0.700 } finish{ diffuse 0.030 reflection 0.250 ambient 0.020 specular 0.250 roughness 0.005 } } // Floor tiles: #declare tx_floor = texture{ pigment{ checker color rgb < 0.600, 0.650, 0.750 >, color rgb < 0.800, 0.850, 0.900 > } finish{ diffuse 0.900 ambient 0.100 } scale 300.0 }