home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 4
/
DATAFILE_PDCD4.iso
/
utilities
/
utilsp
/
povray
/
!POVscene
/
level1
/
pov
/
bumpmap
< prev
next >
Wrap
Text File
|
1992-09-27
|
953b
|
50 lines
// Persistence Of Vision raytracer version 1.0 sample file.
// Bumpmap test file by Drew Wells
// NOTE: Calls for "bumpmap", but any GIF will work.
#include "colors"
camera {
location <0.0 20.0 -120.0>
direction <0.0 0.0 1.0>
up <0.0 1.0 0.0>
right <1.33333 0.0 0.0>
look_at <0.0 20.0 0.0>
}
object {
sphere { <0.0 0.0 0.0> 50.0 }
texture {
color Blue
bump_map { <1.0 -1.0 0.0> gif "<POVgif$Dir>.bumpmap"
bump_size 5.0
interpolate 2.0
}
scale < 100.0 100.0 100.0 > /* scaled and translated so only */
translate < 50.0 -50.0 0.0 > /* 1 instance of the map appears. */
ambient 0.2
diffuse 0.7
specular 0.6
}
translate <0.0 25.0 0.0>
}
object {
plane { <0.0 1.0 0.0> -10.0 }
texture {
color Gold
ambient 0.1
diffuse 0.5
}
}
object {
light_source { <100.0 120.0 -130.0>
colour White
}
}