home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
p
/
povray3a
/
include
/
v2
/
Textures
Wrap
Text File
|
1996-06-28
|
38KB
|
1,423 lines
#declare Textures_Inc_Temp = version
#version 3.0
#ifdef(View_POV_Include_Stack)
# debug "including texture.v2\n"
#end
/*
Persistence of Vision Raytracer Version 3.0
Standard textures include file
Contents:
===========================
DMFWood6
NBglass (Norm Bowler)
NBoldglass (Norm Bowler)
NBwinebottle (Norm Bowler)
NBbeerbottle (Norm Bowler)
Ruby_Glass (after Norm Bowler)
Dark_Green_Glass (after Norm Bowler)
Yellow_Glass (after Norm Bowler)
Orange_Glass (after Norm Bowler)
Vicks_Bottle_Glass (after Norm Bowler)
Soft_Silver (Dan Farmer)
New_Penny (Dan Farmer)
Tinny_Brass (Dan Farmer)
Gold_Nugget (Dan Farmer)
Aluminum (Dan Farmer)
Bright_Bronze (Dan Farmer)
Lightening1 (Dan Farmer)
Lightening2 (Dan Farmer)
Brushed_Aluminum (Dan Farmer)
Starfield (Jeff Burton )
Shadow_Clouds (Bill Pulver)
*/
//*****************************************************************************
// STONE PIGMENTS
//*****************************************************************************
#declare Jade_Map =
color_map {
[0.0, 0.8 color rgb <0.1, 0.6, 0.1>
color rgb <0.0, 0.3, 0.0>]
[0.8, 1.0 color rgb <0.1, 0.6, 0.1>
color rgb <0.0, 0.2, 0.0>]
}
// Drew Wells' superb Jade. Color map works nicely with other textures, too.
#declare Jade =
pigment {
marble
turbulence 1.8
color_map { Jade_Map }
}
#declare Red_Marble_Map =
color_map {
[0.0, 0.8 color rgb <0.8, 0.8, 0.6>
color rgb <0.8, 0.4, 0.4>]
[0.8, 1.0 color rgb <0.8, 0.4, 0.4>
color rgb<0.8, 0.2, 0.2>]
}
// Classic white marble with red veins. Over-worked, like checkers.
#declare Red_Marble =
pigment {
marble
color_map { Red_Marble_Map }
turbulence 1
}
#declare White_Marble_Map =
color_map {
[0.0, 0.8 color rgb <0.9, 0.9, 0.9>
color rgb <0.5, 0.5, 0.5>]
[0.8, 1.0 color rgb <0.5, 0.5, 0.5>
color rgb <0.2, 0.2, 0.2>]
}
// White marble with black veins.
#declare White_Marble =
pigment {
marble
turbulence 1
color_map { White_Marble_Map }
}
// Light blue and black marble with a thin red vein
// Try changing LBlue and Vein below to modify the marble.
#declare LBlue = color rgb <0.0, 0.6, 0.6>
#declare Vein = color rgb <0.6, 0.0, 0.0>
#declare Blood_Marble_Map =
color_map {
[0.0, 0.8 color Black color LBlue]
[0.8, 0.9 color LBlue color Vein]
[0.9, 1.0 color Vein color Black]
}
#declare Blood_Marble =
pigment {
marble
color_map { Blood_Marble_Map }
turbulence 2.3
}
#declare Blue_Agate_Map =
color_map {
[0.0, 0.5 color rgb <0.30, 0.30, 0.50>
color rgb <0.30, 0.30, 0.50>]
[0.5, 0.55 color rgb <0.30, 0.30, 0.50>
color rgb <0.20, 0.20, 0.30>]
[0.55, 0.6 color rgb <0.20, 0.20, 0.30>
color rgb <0.25, 0.25, 0.35>]
[0.6, 0.7 color rgb <0.25, 0.25, 0.35>
color rgb <0.15, 0.15, 0.26>]
[0.7, 0.8 color rgb <0.15, 0.15, 0.26>
color rgb <0.10, 0.10, 0.20>]
[0.8, 0.9 color rgb <0.10, 0.10, 0.20>
color rgb <0.30, 0.30, 0.50>]
[0.9, 1.0 color rgb <0.30, 0.30, 0.50>
color rgb <0.10, 0.10, 0.20>]
}
// a grey blue agate -- kind of purplish.
#declare Blue_Agate =
pigment {
agate
color_map { Blue_Agate_Map }
}
#declare Sapphire_Agate_Map =
color_map {
[0.0, 0.3 color rgb <0.0, 0.0, 0.9>
color rgb <0.0, 0.0, 0.8>]
[0.3, 1.0 color rgb <0.0, 0.0, 0.8>
color rgb <0.0, 0.0, 0.4>]
}
// Deep blue agate -- almost glows.
#declare Sapphire_Agate =
pigment {
agate
color_map { Sapphire_Agate_Map }
}
#declare Brown_Agate_Map =
color_map {
[0.0, 0.5 color rgb <0.0, 0.0, 0.0>
color rgb <0.9, 0.7, 0.6>]
[0.5, 0.6 color rgb <0.9, 0.7, 0.6>
color rgb <0.9, 0.7, 0.4>]
[0.6, 1.0 color rgb <0.9, 0.7, 0.4>
color rgb <0.7, 0.4, 0.2>]
}
// Brown and white agate -- very pretty.
#declare Brown_Agate =
pigment {
agate
color_map { Brown_Agate_Map }
}
#declare Pink_Granite_Map =
color_map {
[0.0, 0.4 color rgb <0.0, 0.0, 0.0>
color rgb <0.0, 0.0, 0.0>]
[0.4, 0.45 color rgb <0.85, 0.85, 0.95>
color rgb <0.85, 0.85, 0.95>]
[0.45, 0.5 color rgb <0.85, 0.85, 0.95>
color rgb <0.75, 0.75, 0.75>]
[0.5, 0.55 color rgb <0.75, 0.75, 0.75>
color rgb <0.82, 0.57, 0.46>]
[0.55, 0.8 color rgb <0.82, 0.57, 0.46>
color rgb <0.82, 0.57, 0.46>]
[0.8, 1.0 color rgb <0.82, 0.57, 0.46>
color rgb <1.0, 0.5, 0.0> ]
}
#declare Pink_Granite =
pigment {
granite
color_map { Pink_Granite_Map }
}
//*****************************************************************************
// STONE TEXTURES
//*****************************************************************************
// Gray-pink alabaster or marble. Layers are scaled for a unit object
// and relative to each other.
#declare PinkAlabaster =
// Underlying surface is very subtly mottled with bozo
texture {
pigment {
bozo
turbulence 0.25
color_map {
[0, 1 color rgb <0.9, 0.75, 0.75>
color rgb <0.6, 0.6, 0.6> ]
}
scale 0.4
}
finish{ ambient 0.25 }
}
// Second layer texture has some filter values, yet a fair amount of color
// Viening is kept quite thin in color map and by the largish scale.
texture {
pigment {
granite
color_map {
[0.0, 0.9 color rgbf <0.52, 0.39, 0.39, 1.0>
color rgbf <0.52, 0.39, 0.39, 0.5>]
[0.9, 1.0 color rgbf <0.42, 0.14, 0.55, 0.0>
color rgbf <0.42, 0.14, 0.55, 0.0>]
}
scale 2
}
finish {
specular 1
roughness 0.0001
phong 0.25
phong_size 75
brilliance 4
}
}
//*****************************************************************************
// SKY PIGMENTS
//*****************************************************************************
#declare Blue_Sky_Map =
color_map {
[0.0, 0.5 color rgb <0.25, 0.25, 0.5>
color rgb <0.25, 0.25, 0.5>]
[0.5, 0.6 color rgb <0.25, 0.25, 0.5>
color rgb <0.7, 0.7, 0.7>]
[0.6, 1.0 color rgb <0.7, 0.7, 0.7>
color rgb <0.3, 0.3, 0.3>]
}
// Basic Blue Sky w/ clouds.
#declare Blue_Sky =
pigment {
bozo
color_map { Blue_Sky_Map }
turbulence 0.3
}
// Bright Blue Sky w/ very white clouds.
#declare Bright_Blue_Sky =
pigment {
bozo
turbulence 0.56
color_map {
[0.0, 0.5 color rgb <0.5, 0.5, 1.0>
color rgb <0.5, 0.5, 1.0>]
[0.5, 0.6 color rgb <0.5, 0.5, 1.0>
color rgb <1.0, 1.0, 1.0>]
[0.6, 1.0 color rgb <1.0, 1.0, 1.0>
color rgb <0.5, 0.5, 0.5>]
}
}
// Another sky
#declare Blue_Sky2 =
pigment {
agate
color_map {
[0.0, 0.3 color rgb <0.0, 0.0, 1.0>
color rgb <0.0, 0.0, 1.0>]
[0.3, 1.0 color rgb <0.0, 0.0, 1.0>
color rgb <1.0, 1.0, 1.0>]
}
scale .75
}
// Small puffs of white clouds
#declare Blue_Sky3 =
pigment {
granite
turbulence 0.1
color_map {
[0.0, 0.3 color rgb <0.0, 0.0, 1.0>
color rgb <0.0, 0.0, 1.0>]
[0.3, 1.0 color rgb <0.0, 0.0, 1.0>
color rgb <1.0, 1.0, 1.0>]
}
scale .75
}
// Red sky w/ yellow clouds -- very surreal.
#declare Blood_Sky =
pigment {
bozo
turbulence 0.5
color_map {
[0.0, 0.5 color rgb <0.9, 0.700, 0.0>
color rgb <0.3, 0.200, 0.0>]
[0.5, 0.6 color rgb <0.6, 0.025, 0.0>
color rgb <0.9, 0.700, 0.0>]
[0.6, 1.0 color rgb <0.6, 0.025, 0.0>
color rgb <0