/**************************************************************************** some metal textures by Thomas de Groot. acknowledgement of some other origin indicated. ****************************************************************************/ #declare TdG_shiny_001 = texture { pigment {rgb 0} } texture { pigment { leopard color_map { [ 0.00 rgbf <0.6979, 0.302067, 0.0104, 0.31> ] [ 0.07 rgbf <0.7604, 0.552067, 0.1203, 0.31> ] [ 0.07 rgbf <0.468733, 0.3229, 0.17, 0.02> ] [ 0.19 rgbf <0.489567, 0.3854, 0.1354, 0.02> ] [ 0.19 rgbf <0.3889, 0.343733, 0.3002, 0.9> ] [ 0.37 rgbf <0.25, 0.177067, 0.1354, 0.9> ] [ 0.37 rgbf <0.2357, 0.2495, 0.1793, 0.62> ] [ 0.57 rgbf <0.2357, 0.2495, 0.1793, 0.62> ] [ 0.57 rgbf <0.3302, 0.1342, 0.0686, 0.89> ] [ 1.00 rgbf <0.3302, 0.1342, 0.0686, 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.125, 0.02> ] [ 0.014235 rgbf <1.0, 0.802067, 0.0, 0.02> ] [ 0.035587 rgbf <0.3889, 0.343733, 0.3002, 0.9> ] [ 0.156584 rgbf <0.625, 0.177067, 0.1354, 0.9> ] [ 0.334520 rgbf <0.2357, 0.2495, 0.1793, 0.62> ] [ 0.419929 rgbf <0.2357, 0.2495, 0.1793, 0.62> ] [ 0.693950 rgbf <0.3302, 0.1342, 0.0686, 0.89> ] [ 1.000000 rgbf <0.3302, 0.1342, 0.0686, 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 } } } #declare TdG_corroded_brass_dark = // Based on Corroded Iron texture by Meothuru, and jivvy_brass_patina. 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 } } } texture { // Corrosion 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 } } texture { // Patina pigment { cells color_map { [ 0.000000 rgbt <0.32571, 0.843733, 0.770833, 0.531> ] [ 0.224199 rgbt <0.32571, 0.843733, 0.770833, 0.0> ] [ 0.505338 rgbt <0.32571, 0.843733, 0.770833, 0.531233> ] [ 0.750890 rgbt <0.378006, 0.395833, 0.142794, 1.0> ] [ 1.000000 rgbt <0.378006, 0.395833, 0.142794, 1.0> ] } 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_corroded_brass_light = // Based on Corroded Iron texture by Meothuru, and jivvy_brass_patina. 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 } } } texture { // Corrosion 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 } } texture { // Patina pigment { cells color_map { [ 0.000000 rgbt <0.32571, 0.843733, 0.770833, 0.531> ] [ 0.224199 rgbt <0.32571, 0.843733, 0.770833, 0.0> ] [ 0.505338 rgbt <0.32571, 0.843733, 0.770833, 0.531233> ] [ 0.750890 rgbt <0.378006, 0.395833, 0.142794, 1.0> ] [ 1.000000 rgbt <0.378006, 0.395833, 0.142794, 1.0> ] } 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.7, 0.13, 0.0> ] [ 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.42, 0.2, 0.2> ] [ 0.387900 rgb <0.593733, 0.302067, 0.02> ] [ 0.508897 rgb <0.5104, 0.2, 0.2> ] [ 0.654804 rgb <0.3, 0.2, 0.2> ] [ 1.000000 rgb <0.3, 0.2, 0.2> ] } 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.42, 0.2, 0.2, 1.0> ] [ 0.387900 rgbt <0.593733, 0.302067, 0.02, 0.1> ] [ 0.508897 rgbt <0.5104, 0.2, 0.2, 0.4> ] [ 0.654804 rgbt <0.3, 0.2, 0.2, 0.3> ] [ 1.000000 rgbt <0.3, 0.2, 0.2, 0.8> ] } } normal { bozo 1.0 bump_size 0.5 scale <0.08, 0.07, 0.06> } }