home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ray Tracing Box
/
RAY_CD.mdf
/
raytrace
/
_pov_dat
/
decset
/
stripes.pov
< prev
Wrap
Text File
|
1994-01-19
|
1KB
|
45 lines
//This is the .pov file used to render the striped image used in the image_map
//in the main scene file. I used it to do the toroidal maps on the lip-wraps.
#include "colors.inc"
#include "shapes.inc"
#include "textures.inc"
camera { // Camera Camera01
location <0.000, 0.000, -13.000>
direction <0.0, 0.0, 2.4880>
sky <0.0, 1.0, 0.0>
up <0.0, 1.0, 0.0>
right <1.3333, 0.0, 0.0>
look_at <0.000, 0.000, 0.000>
}
object { // Light source SpotL001
light_source {
<0, 10, -20>
color red 1.000 green 1.000 blue 1.000
}
}
object {
plane { z*-1 0 }
texture {
pigment {
gradient x
color_map {
[0.0 0.25 color Red color Red]
[0.25 0.5 color LightBlue5 color LightBlue5]
[0.5 0.75 color Red color Red]
[0.75 1.0 color LightBlue5 color LightBlue5]
}
frequency 3 //lower values make broader stripes
rotate <0, 0, -22.2> //this value is critical - do not change
}
finish {
ambient 1.0
diffuse 0.0
}
}
translate <10, 0, 0> //needed to move "seam" of map off screen
}