// ============================================================================= // // Some metal textures by Thomas de Groot. // Acknowledgement of some other origin indicated. // // ============================================================================= // TdG_shiny_001 // TdG_shiny_002 // TdG_corroded_brass_dark // TdG_corroded_brass_light // TdG_rusted_shiny_metal // TdG_rusty_iron // ============================================================================= #declare TdG_shiny_001 = texture { pigment {rgb 0} } texture { pigment { leopard color_map { [ 0.00 rgbf <0.697900, 0.302067, 0.010400, 0.31> ] [ 0.07 rgbf <0.760400, 0.552067, 0.120300, 0.31> ] [ 0.07 rgbf <0.468733, 0.322900, 0.170000, 0.02> ] [ 0.19 rgbf <0.489567, 0.385400, 0.135400, 0.02> ] [ 0.19 rgbf <0.388900, 0.343733, 0.300200, 0.90> ] [ 0.37 rgbf <0.250000, 0.177067, 0.135400, 0.90> ] [ 0.37 rgbf <0.235700, 0.249500, 0.179300, 0.62> ] [ 0.57 rgbf <0.235700, 0.249500, 0.179300, 0.62> ] [ 0.57 rgbf <0.330200, 0.134200, 0.068600, 0.89> ] [ 1.00 rgbf <0.330200, 0.134200, 0.068600, 0.89> ] } turbulence 1.0 octaves 4 omega 1.0 frequency 0.5 phase 1.0 poly_wave 0.5 } normal { granite 0.5 } finish { ambient 0.0 phong 0.57 phong_size 90.0 specular 0.5 metallic 1.0 conserve_energy reflection { 0.1 , 0.1 fresnel off falloff 1.0 exponent 1.0 metallic 0.0 } } scale <0.8, 0.7, 0.6> } // ============================================================================= #declare TdG_shiny_002 = texture { pigment {rgb 0} } texture { pigment { leopard color_map { [ 0.000000 rgbf <0.468733, 0.270833, 0.125000, 0.02> ] [ 0.014235 rgbf <1.000000, 0.802067, 0.000000, 0.02> ] [ 0.035587 rgbf <0.388900, 0.343733, 0.300200, 0.90> ] [ 0.156584 rgbf <0.625000, 0.177067, 0.135400, 0.90> ] [ 0.334520 rgbf <0.235700, 0.249500, 0.179300, 0.62> ] [ 0.419929 rgbf <0.235700, 0.249500, 0.179300, 0.62> ] [ 0.693950 rgbf <0.330200, 0.134200, 0.068600, 0.89> ] [ 1.000000 rgbf <0.330200, 0.134200, 0.068600, 0.89> ] } turbulence 1.0 octaves 5 omega 1.0 frequency 1.5 phase 1.0 ramp_wave } normal { granite 0.5 } finish { ambient 0.0 phong 0.57 phong_size 90.0 specular 0.5 metallic 1.0 conserve_energy reflection { 0.1 , 0.1 fresnel off falloff 1.0 exponent 1.0 metallic 0.0 } } } // ============================================================================= // Based on Corroded Iron texture by Meothuru, and jivvy_brass_patina. #declare TdG_corroded_brass_dark = texture { pigment { color rgb <0.354133, 0.242643, 0.0> } normal { hexagon rotate -90*x bump_size 0.2 turbulence <0.01, 0.015, 0.02> poly_wave scale <0.2, 0.05, 0.05> } finish { ambient 0.0 diffuse 0.7122 brilliance 5.939667 phong 0.309333 phong_size 42.383333 roughness 0.0075 metallic 1.0 reflection { 0.043133 , 0.043133 fresnel off falloff 1.0 exponent 1.0 metallic 0.0 } } } // Corrosion texture { pigment { cells color_map { [ 0.0 rgbt <0.0, 0.0, 0.0, 0.5> ] [ 1.0 rgbt <1.0, 1.0, 1.0, 0.5> ] } turbulence 1.0 octaves 5 omega 1.0 lambda 5.0 ramp_wave } normal { cells 5.0 turbulence 1.0 octaves 5 omega 1.0 lambda 5.0 ramp_wave } } // Patina texture { pigment { cells color_map { [ 0.000000 rgbt <0.325710, 0.843733, 0.770833, 0.531000> ] [ 0.224199 rgbt <0.325710, 0.843733, 0.770833, 0.000000> ] [ 0.505338 rgbt <0.325710, 0.843733, 0.770833, 0.531233> ] [ 0.750890 rgbt <0.378006, 0.395833, 0.142794, 1.000000> ] [ 1.000000 rgbt <0.378006, 0.395833, 0.142794, 1.000000> ] } turbulence 1.0 octaves 5 omega 1.0 lambda 5.0 ramp_wave } normal { cells 5.0 turbulence 1.0 octaves 5 omega 1.0 lambda 5.0 ramp_wave } finish { ambient 0.0 diffuse 0.309333 brilliance 1.804333 phong_size 0.0 roughness 0.0 } } // ============================================================================= // Based on Corroded Iron texture by Meothuru, and jivvy_brass_patina. #declare TdG_corroded_brass_light = texture { pigment { color rgb <1.0, 0.8229, 0.437467> } normal { hexagon rotate -90*x bump_size 0.2 turbulence <0.01, 0.015, 0.02> poly_wave scale <0.2, 0.05, 0.05> } finish { ambient 0.0 diffuse 0.7122 brilliance 5.939667 phong 0.309333 phong_size 42.383333 roughness 0.0075 metallic 1.0 conserve_energy reflection { 0.043133 , 0.043133 fresnel off falloff 1.0 exponent 1.0 metallic 0.0 } } } // Corrosion texture { pigment { cells color_map { [ 0.0 rgbt <0.0, 0.0, 0.0, 0.5> ] [ 1.0 rgbt <1.0, 1.0, 1.0, 0.5> ] } turbulence 1.0 octaves 5 omega 1.0 lambda 5.0 ramp_wave } normal { cells 5.0 turbulence 1.0 octaves 5 omega 1.0 lambda 5.0 ramp_wave } } // Patina texture { pigment { cells color_map { [ 0.000000 rgbt <0.325710, 0.843733, 0.770833, 0.531000> ] [ 0.224199 rgbt <0.325710, 0.843733, 0.770833, 0.000000> ] [ 0.505338 rgbt <0.325710, 0.843733, 0.770833, 0.531233> ] [ 0.750890 rgbt <0.378006, 0.395833, 0.142794, 1.000000> ] [ 1.000000 rgbt <0.378006, 0.395833, 0.142794, 1.000000> ] } turbulence 1.0 octaves 5 omega 1.0 lambda 5.0 ramp_wave } normal { cells 5.0 turbulence 1.0 octaves 5 omega 1.0 lambda 5.0 ramp_wave } finish { ambient 0.0 diffuse 0.309333 brilliance 1.804333 phong_size 0.0 roughness 0.0 } } // ============================================================================= #declare TdG_rusted_shiny_metal = texture { bozo texture_map { [0.30 pigment { color rgb <0.71, 0.65, 0.26> } finish { ambient 0.0 diffuse 0.7 brilliance 6.0 phong 0.75 phong_size 80.0 reflection { 0.25 , 0.25 fresnel off falloff 1.0 exponent 1.0 metallic 0.0 } } ] [0.4 pigment { granite color_map { [ 0.0 rgb <0.89, 0.51, 0.28> ] [ 0.4 rgb <0.70, 0.13, 0.00> ] [ 0.5 rgb <0.69, 0.41, 0.08> ] [ 0.6 rgb <0.49, 0.31, 0.28> ] [ 1.0 rgb <0.89, 0.51, 0.28> ] } scale 0.3 warp { turbulence 0.5 } } normal { granite 0.5 scale 0.01 } finish { ambient 0.0 diffuse 0.4 } ] } warp { turbulence <3.0, 2.0, 1.0> } } // ============================================================================= #declare TdG_rusty_iron = texture { pigment { granite color_map { [ 0.000000 rgb <0.420000, 0.200000, 0.200000> ] [ 0.387900 rgb <0.593733, 0.302067, 0.020000> ] [ 0.508897 rgb <0.510400, 0.200000, 0.200000> ] [ 0.654804 rgb <0.300000, 0.200000, 0.200000> ] [ 1.000000 rgb <0.300000, 0.200000, 0.200000> ] } scale 0.5 } normal { bozo 1.0 bump_size 0.5 scale <0.08, 0.07, 0.06> } finish { ambient 0.0 diffuse 0.6 specular 0.5 roughness 0.005 } } texture { pigment { granite color_map { [ 0.387900 rgbt <0.420000, 0.200000, 0.200000, 1.0> ] [ 0.387900 rgbt <0.593733, 0.302067, 0.020000, 0.1> ] [ 0.508897 rgbt <0.510400, 0.200000, 0.200000, 0.4> ] [ 0.654804 rgbt <0.300000, 0.200000, 0.200000, 0.3> ] [ 1.000000 rgbt <0.300000, 0.200000, 0.200000, 0.8> ] } } normal { bozo 1.0 bump_size 0.5 scale <0.08, 0.07, 0.06> } } // === eof =====================================================================