/**** Metal Textures ****/ #declare Brass_Bed1 = texture { pigment { rgb<0.7,0.56,0.37> } finish { ambient 0.35 diffuse 1.00 brilliance 15.0 phong 0.41 phong_size 5.00 } } #declare Brass_Bed2 = texture { pigment { rgb<0.7,0.56,0.37> } finish { ambient 0.35 diffuse 1.00 brilliance 15 phong 0.41 phong_size 5.00 } } #declare BrassWorks = texture { pigment { rgb<0.58,0.42,0.19> } finish { metallic ambient 0.1 diffuse 0.8 brilliance 6.0 reflection 0.4 phong 0.8 phong_size 120 } } #declare Kens_Gold1 = texture { pigment { rgb<0.6,0.4,0.2> } finish { metallic ambient 0.1 diffuse 0.8 brilliance 6.0 reflection 0.6 phong 1.0 phong_size 80 } } #declare Kens_Gold2 = texture { pigment { rgb<0.6,0.4,0.2> } finish { metallic ambient 0.1 diffuse 0.8 brilliance 6.0 phong 1.0 phong_size 80 } } #declare Kens_Gold3 = texture { pigment { rgb<0.6,0.4,0.2> } finish { metallic ambient 0.1 diffuse 0.8 brilliance 6.0 reflection 0.1 phong 1.0 phong_size 80 } } #declare Mirrored_Surace = texture { pigment { marble turbulence 1.8 color_map { [0.0 rgb<0.1,0.6,0.1>][0.8 rgb<0.0,0.3,0.0>] [0.8 rgb<0.1,0.6,0.1>][1.0 rgb<0.0,0.2,0.0>]} } finish { reflection 0.6 } } #declare Shiny_Chrome = texture { pigment { rgb 0.20 } finish { ambient 0.1 diffuse 0.7 brilliance 6.0 reflection 0.6 phong 0.8 phong_size 120 } } #declare Super_Chrome = texture { pigment { rgb 20 } finish { ambient 0.1 diffuse 0.5 brilliance 6.0 reflection 0.6 phong 0.8 phong_size 120 } } #declare Mega_Chrome = texture { pigment { rgb 0.20 } finish { ambient 0.1 diffuse 0.2 brilliance 6.0 reflection 0.6 phong 0.8 phong_size 120 } } #declare Metallic_Dull = texture { pigment { rgb 0.20 } finish { metallic ambient 0.25 diffuse 0.65 reflection 0.10 brilliance 6.00 phong 1.00 phong_size 100 } } /**** Colored Metallic Textures ****/ #declare Metallic_Black = texture { pigment { rgb 0.0 } finish { metallic ambient 0.1 diffuse 0.8 brilliance 6.0 reflection 0.6 phong 1.0 phong_size 80 } } #declare Metallic_Blue = texture { pigment { rgb<0.0,0.0,0.61> } finish { metallic ambient 0.1 diffuse 0.8 brilliance 6.0 reflection 0.7 phong 1.0 phong_size 80 } } #declare Metallic_CoolBlue = texture { pigment { agate color_map { [0.0 rgb<0,0,0.9>][0.3 rgb<0,0,0.8>] [0.3 rgb<0,0,0.8>][1.0 rgb<0,0,0.4>] } } finish { metallic ambient 0.1 diffuse 0.8 brilliance 6.0 reflection 0.6 phong 1.0 phong_size 80 } } #declare Metallic_Green = texture { pigment { rgb<0.8,1.0,0.95> } finish { metallic ambient 0.20 diffuse 0.70 brilliance 6.00 reflection 0.25 phong 0.75 phong_size 80 } } #declare Metallic_White = texture { pigment { rgb 1.0 } finish { metallic ambient 0.1 diffuse 0.8 brilliance 6.0 reflection 0.16 phong 1.0 phong_size 80 } } /**** Misc. Textures ****/ #declare Bright_Blue = texture { pigment { rgb<0,0,1> } finish { ambient 0.1 diffuse 0.7 reflection 0.2 phong 1.0 phong_size 70 } } #declare Glossy_Gray = texture { pigment { rgb<0.4,0.4,0.4> } finish { ambient 0.1 diffuse 0.7 reflection 0.3 phong 1.0 phong_size 70 } } #declare Off_White_Plastic = texture { pigment { rgb <1.0,0.98,0.92> } finish { ambient 0.1 diffuse 0.7 phong 1.0 phong_size 70 } } /*** Wood Textures ***/ #declare Ken_Wood = pigment { wood turbulence 0.1 color_map { [0.0 rgb<0.88,0.6,0.3>][0.8 rgb<0.88,0.6,0.3>] [0.8 rgb<0.60,0.4,0.2>][1.0 rgb<0.40,0.3,0.2>] } } #declare KenWood = texture { pigment { wood turbulence 0.1 color_map { [0.00 rgb<0.70,0.40,0.0>][0.35 rgb<0.70,0.40,0.0>] [0.35 rgb<0.95,0.62,0.0>][1.00 rgb<0.95,0.62,0.0>]} scale <0.6, 1000, 0.6> translate <200, 0.0, 100> } finish { specular 1 roughness 0.02 } } #declare Wood_By_Ken = texture { pigment { wood turbulence 0.2 color_map { [0.00 rgb<0.45,0.25,0.0>][0.55 rgb<0.45,0.25,0.0>] [0.55 rgb<0.30,0.16,0.0>][1.00 rgb<0.30,0.16,0.0>] } scale <0.6, 1000.0, 0.6> translate <100.0, 0.0, -200.0> } finish { specular 1.00 roughness 0.02 } } /**** Stone and Rock Texture/Pigment ****/ #declare Jaded_Ken = texture { pigment { marble turbulence 1.8 color_map { [0.0 rgb<0.1,0.6,0.1>][0.8 rgb<0.0,0.3,0.0>] [0.8 rgb<0.1,0.6,0.1>][1.0 rgb<0.0,0.2,0.0>]} } finish { reflection 0.6 ambient 0.1 diffuse 0.8 brilliance 6.0 } } #declare Blue_Green_Agate = pigment { agate color_map { [0.00 rgb<0.30,0.30,0.50>][0.50 rgb<0.30,0.30,0.50>] [0.50 rgb<0.30,0.30,0.50>][0.55 rgb<0.20,0.20,0.30>] [0.55 rgb<0.20,0.20,0.30>][0.60 rgb<0.25,0.25,0.35>] [0.60 rgb<0.25,0.25,0.35>][0.70 rgb<0.15,0.15,0.26>] [0.70 rgb<0.15,0.15,0.26>][0.80 rgb<0.10,0.10,0.20>] [0.80 rgb<0.10,0.10,0.20>][0.90 rgb<0.30,0.30,0.50>] [0.90 rgb<0.30,0.30,0.50>][1.00 rgb<0.10,0.10,0.20>] } } // Yes It's Another White Marble Texture (What do you want for free ?) #declare White_Marble = pigment { marble turbulence 1 color_map { [0.0 rgb<0.9,0.9,0.9>][0.8 rgb<0.5,0.5,0.5>] [0.8 rgb<0.5,0.5,0.5>][1.0 rgb<0.2,0.2,0.2>] } } #declare Ken_Rock1 = texture { pigment { granite turbulence 0.0 color_map { [0.0 rgb 1.00][0.3 rgb 0.33][0.3 rgb 0.33] [0.4 rgb 0.33][0.4 rgb 0.33][0.6 rgb 0.33] [0.6 rgb 0.33][1.0 rgb 0.33] } } finish { crand 0.02 } } #declare Ken_Rock2 = texture { pigment { granite turbulence 0.6 color_map { [0.00 rgbf<0.831,0.631,0.569,0.447>][0.15 rgbf<0.925,0.831,0.714,0.678>] [0.15 rgbf<0.925,0.831,0.714,0.678>][0.29 rgbf<0.871,0.702,0.659,0.475>] [0.29 rgbf<0.871,0.702,0.659,0.475>][0.44 rgbf<0.831,0.631,0.569,0.918>] [0.44 rgbf<0.831,0.631,0.569,0.918>][0.76 rgbf<0.937,0.882,0.820,0.655>] [0.76 rgbf<0.937,0.882,0.820,0.655>][1.00 rgbf<0.831,0.631,0.569,0.447>] } } } #declare Brown_Brick_Tex = texture{ pigment{ rgb 0 }} texture{ Ken_Rock1 scale <3, 6, 2> rotate <0, 0, 50> } texture{ Ken_Rock2 scale <1, 2, 1> rotate <0, 0, -50> finish{ phong 1.0 phong_size 90 } } /**** Use These If You Don't Like Typing Long Names ****/ #declare Tex1 = texture { Brass_Bed1 } #declare Tex2 = texture { Brass_Bed2 } #declare Tex3 = texture { BrassWorks } #declare Tex4 = texture { Kens_Gold1 } #declare Tex5 = texture { Kens_Gold2 } #declare Tex6 = texture { Kens_Gold3 } #declare Tex7 = texture { Mirrored_Surace } #declare Tex8 = texture { Shiny_Chrome } #declare Tex9 = texture { Super_Chrome } #declare Tex10 = texture { Mega_Chrome } #declare Tex11 = texture { Metallic_Dull } #declare Tex12 = texture { Metallic_Black } #declare Tex13 = texture { Metallic_Blue } #declare Tex14 = texture { Metallic_CoolBlue } #declare Tex15 = texture { Metallic_Green } #declare Tex16 = texture { Metallic_White } #declare Tex17 = texture { Bright_Blue } #declare Tex18 = texture { Glossy_Gray } #declare Tex19 = texture { Off_White_Plastic } #declare Tex20 = texture { KenWood } #declare Tex21 = texture { Wood_By_Ken } #declare Tex22 = texture { Jaded_Ken } #declare Tex23 = texture { Brown_Brick_Tex } #declare Pig1 = pigment { Ken_Wood } #declare Pig2 = pigment { Blue_Green_Agate } #declare Pig3 = pigment { White_Marble } /**** That's All folks ****/