// Last edited on 2011-09-12 02:21:52 by stolfilocal // Textures. #declare tx_hole = texture { pigment { color rgb < 1.000, 0.800, 0.100 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare cor_ball_3 = < 1.000, 0.000, 0.000 >; #declare tx_ball_3 = texture { pigment { color rgb cor_ball_3 } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare cor_rod = < 0.500, 0.500, 0.500 > + < 00.000, -0.083, +0.500 >; #declare tx_rod = 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_bzA = 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_bzB = texture{ pigment{ color rgb < 1.000, 1.000, 1.000 > filter 0.50 } finish{ diffuse 0.70 specular 0.20 roughness 0.005 ambient 0.10 } } #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