// A bundle of textures // Last edited on 1999-02-13 10:28:59 by stolfi // Requires // texture_color // Defines // texture_{plastic,metal,rock}_{strong,medium,pastel,muddy,dark} // Metal #declare texture_metal_color_self = texture_color; #declare texture_metal_color_refl = texture_color; #include "texture-metal.inc" #declare texture_metal_strong = texture{ texture_metal } #declare texture_metal_color_self = 0.67 * texture_color + < 0.33, 0.33, 0.33 >; #declare texture_metal_color_refl = 0.67 * texture_color + < 0.33, 0.33, 0.33 >; #include "texture-metal.inc" #declare texture_metal_medium = texture{ texture_metal } #declare texture_metal_color_self = 0.33 * texture_color + < 0.67, 0.67, 0.67 >; #declare texture_metal_color_refl = 0.33 * texture_color + < 0.67, 0.67, 0.67 >; #include "texture-metal.inc" #declare texture_metal_pastel = texture{ texture_metal } #declare texture_metal_color_self = 0.50 * texture_color + 0.50 * < 0.50, 0.50, 0.50 >; #declare texture_metal_color_refl = 0.50 * texture_color + 0.50 * < 0.50, 0.50, 0.50 >; #include "texture-metal.inc" #declare texture_metal_muddy = texture{ texture_metal } #declare texture_metal_color_self = 0.50 * texture_color; #declare texture_metal_color_refl = 0.50 * texture_color; #include "texture-metal.inc" #declare texture_metal_dark = texture{ texture_metal } // Rocks #declare texture_rock_color = texture_color; #include "texture-rock.inc" #declare texture_rock_strong = texture{ texture_rock } #declare texture_rock_color = 0.67 * texture_color + < 0.33, 0.33, 0.33 >; #include "texture-rock.inc" #declare texture_rock_medium = texture{ texture_rock } #declare texture_rock_color = 0.33 * texture_color + < 0.67, 0.67, 0.67 >; #include "texture-rock.inc" #declare texture_rock_pastel = texture{ texture_rock } #declare texture_rock_color = 0.50 * texture_color + 0.50 * < 0.50, 0.50, 0.50 >; #include "texture-rock.inc" #declare texture_rock_muddy = texture{ texture_rock } #declare texture_rock_color = 0.50 * texture_color; #include "texture-rock.inc" #declare texture_rock_dark = texture{ texture_rock } // Plastic #declare texture_plastic_color_refl = < 1.00, 1.00, 1.00 >; #declare texture_plastic_color_self = texture_color; #include "texture-plastic.inc" #declare texture_plastic_strong = texture{ texture_plastic } #declare texture_plastic_color_self = 0.67 * texture_color + < 0.33, 0.33, 0.33 >; #include "texture-plastic.inc" #declare texture_plastic_medium = texture{ texture_plastic } #declare texture_plastic_color_self = 0.33 * texture_color + < 0.67, 0.67, 0.67 >; #include "texture-plastic.inc" #declare texture_plastic_pastel = texture{ texture_plastic } #declare texture_plastic_color_self = 0.50 * texture_color + 0.50 * < 0.50, 0.50, 0.50 >; #include "texture-plastic.inc" #declare texture_plastic_muddy = texture{ texture_plastic } #declare texture_plastic_color_self = 0.50 * texture_color; #include "texture-plastic.inc" #declare texture_plastic_dark = texture{ texture_plastic } // Matte #declare texture_matte_color = texture_color; #include "texture-matte.inc" #declare texture_matte_strong = texture{ texture_matte } #declare texture_matte_color = 0.67 * texture_color + < 0.33, 0.33, 0.33 >; #include "texture-matte.inc" #declare texture_matte_medium = texture{ texture_matte } #declare texture_matte_color = 0.33 * texture_color + < 0.67, 0.67, 0.67 >; #include "texture-matte.inc" #declare texture_matte_pastel = texture{ texture_matte } #declare texture_matte_color = 0.50 * texture_color + 0.50 * < 0.50, 0.50, 0.50 >; #include "texture-matte.inc" #declare texture_matte_muddy = texture{ texture_matte } #declare texture_matte_color = 0.50 * texture_color; #include "texture-matte.inc" #declare texture_matte_dark = texture{ texture_matte } // Bulb #declare texture_bulb_color = texture_color; #include "texture-bulb.inc" #declare texture_bulb_strong = texture{ texture_bulb } #declare texture_bulb_color = 0.67 * texture_color + < 0.33, 0.33, 0.33 >; #include "texture-bulb.inc" #declare texture_bulb_medium = texture{ texture_bulb } #declare texture_bulb_color = 0.33 * texture_color + < 0.67, 0.67, 0.67 >; #include "texture-bulb.inc" #declare texture_bulb_pastel = texture{ texture_bulb } #declare texture_bulb_color = 0.50 * texture_color + 0.50 * < 0.50, 0.50, 0.50 >; #include "texture-bulb.inc" #declare texture_bulb_muddy = texture{ texture_bulb } #declare texture_bulb_color = 0.50 * texture_color; #include "texture-bulb.inc" #declare texture_bulb_dark = texture{ texture_bulb }