// Last edited on 2012-02-18 05:38:03 by stolfilocal // Textures. #declare tx_cuir_0000 = texture { pigment { color rgb < 1.000, 0.900, 0.700 > } finish { diffuse 0.85 specular 0.15 roughness 0.005 ambient 0.05 } } #declare tx_cuir_1899 = texture { pigment { color rgb < 0.000, 0.150, 0.500 > } finish { diffuse 0.85 specular 0.15 roughness 0.005 ambient 0.05 } } #declare tx_cuir_1999 = texture { pigment { color rgb < 0.000, 0.300, 0.387 > } finish { diffuse 0.85 specular 0.15 roughness 0.005 ambient 0.05 } } #declare tx_cuir_2099 = texture { pigment { color rgb < 0.000, 0.500, 0.300 > } finish { diffuse 0.85 specular 0.15 roughness 0.005 ambient 0.05 } } #declare cor_gold = < 1.000, 0.850, 0.200 >; #declare tx_gold = texture { pigment { color rgb cor_gold } finish { ambient 0.1 diffuse 0.2 specular 0.4 roughness 0.005 reflection 0.7*cor_gold } } #declare cor_red = < 1.000, 0.000, 0.000 >; #declare tx_red = texture { pigment { color rgb cor_red } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare cor_mist = < 0.500, 0.500, 0.500 > + < 00.000, -0.083, +0.500 >; #declare tx_mist = texture { pigment { color rgb < 1.000, 0.800, 0.100 > } finish { diffuse 0.50 specular 0.50 roughness 0.005 ambient 0.10 } } #declare tx_mirror = texture{ pigment{ color rgb < 1.000, 0.900, 0.700 > } finish{ diffuse 0.10 reflection 0.8*< 1.00, 0.90, 0.70 > ambient 0.10 } } #declare tx_white = texture{ pigment{ color rgb < 1.000, 1.000, 0.750 > } finish{ diffuse 0.70 specular 0.20 roughness 0.005 ambient 0.10 } } #declare tx_ivory = texture{ pigment{ color rgb < 1.000, 1.000, 1.000 > } finish{ diffuse 0.70 specular 0.20 roughness 0.005 ambient 0.10 } } #declare tx_yellow = texture{ pigment{ color rgb < 1.000, 1.000, 0.350 > filter 0.50 } finish{ diffuse 0.70 specular 0.20 roughness 0.005 ambient 0.10 } } #declare tx_blanc = texture{ pigment{ color rgb < 1.000, 1.000, 1.000 > } finish{ diffuse 0.95 specular 0.20 roughness 0.005 ambient 0.05 } } #declare tx_blue = texture { pigment { color rgb < 0.200, 0.300, 1.000 > } finish { diffuse 0.90 ambient 0.10 } } #declare tx_orange = texture { pigment { color rgb < 1.000, 0.750, 0.200 > } finish { diffuse 0.90 ambient 0.10 } } #declare tx_gray = texture{ pigment{ color rgb < 0.500, 0.500, 0.500 > } finish{ diffuse 0.70 specular 0.20 roughness 0.005 ambient 0.10 } } #declare tx_glass = texture{ pigment{ color rgb < 0.700, 0.900, 1.000 > filter 0.80 } finish{ diffuse 0.03 reflection 0.25 ambient 0.02 specular 0.25 roughness 0.005 } } #declare tx_green_light = texture{ pigment{ color rgb < 0.000, 1.000, 0.000 > } finish{ diffuse 0.10 ambient 0.90 } } #declare tx_chess = texture{ pigment{ checker color rgb < 0.500, 0.850, 0.600 >, color rgb < 1.000, 0.980, 0.600 > } finish{ diffuse 0.90 ambient 0.10 } scale 3 } #macro tx_random(coins) texture{ pigment{ color rgb < rand(coins), rand(coins), rand(coins) > } finish{ diffuse 0.80 specular 0.20 } } #end