home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ray Tracing Box
/
RAY_CD.mdf
/
raytrace
/
hfg
/
list03.pov
< prev
next >
Wrap
Text File
|
1994-01-11
|
838b
|
45 lines
// list03.pov
// Persistence of Vision Raytracer
/* Listing 3 erzeugt Bild 4 */
#include "shapes.inc"
#include "colors.inc"
#include "textures.inc"
camera {
location <0.0, 4.0, -2.5>
direction <0.0, 0.0, 1.0>
up <0.0, 1.0, 0.0>
right <1.333333, 0.0, 0.0>
look_at <0.0, 2.0, 7.0>
}
object {
intersection {
sphere { <2.5, 2.5, 7.0> 2.0 }
object { Cube scale 1.7
translate <2.5, 2.5, 7.0> }
pigment { colour White }
}
}
object {
difference {
object {Cube scale 1.7
translate <-2.5, 2.5, 7.0> }
sphere { <-2.5 2.5 7.0> 2.0 }
pigment { colour White }
}
}
object {
plane {<0.0, 1.0, 0.0>, -4.5 }
pigment { colour Blue }
}
/* Lichtquelle */
object {
light_source {
<2.0, 20.0, 0.0> colour White }
}