home *** CD-ROM | disk | FTP | other *** search
- //
- // filename: F2PSCN2.POV
- //
- // Dodecahedron and plane.
- //
- // by David Grossman ( Dodecahedron from POV shapes2.inc )
- //
-
- #include "frct2pov.inc"
-
- #declare Dodecahedron =
- intersection {
- plane {-z, 1 rotate <-26.56505117708, 0, 0>}
- plane {-z, 1 rotate <-26.56505117708, -72, 0>}
- plane {-z, 1 rotate <-26.56505117708, -144, 0>}
- plane {-z, 1 rotate <-26.56505117708, -216, 0>}
- plane {-z, 1 rotate <-26.56505117708, -288, 0>}
- plane {-z, 1 rotate <26.56505117708, -36, 0>}
- plane {-z, 1 rotate <26.56505117708, -108, 0>}
- plane {-z, 1 rotate <26.56505117708, -180, 0>}
- plane {-z, 1 rotate <26.56505117708, -252, 0>}
- plane {-z, 1 rotate <26.56505117708, -324, 0>}
- plane { y, 1}
- plane {-y, 1}
- }
-
- camera { location < 0, 4, 8 >
- direction < 0, 0, 4 >
- up < 0, 1, 0 >
- right < -4/3, 0, 0 >
- look_at < 0, .5, 0 >
- }
-
- object { Dodecahedron translate y scale <1,.4,1> rotate 15*y
- texture { frct2pov
- finish { ambient .4 diffuse .6 } rotate -90*x } }
-
- object { plane { y,0 }
- texture { frct2pov
- finish { ambient .4 diffuse .6 } rotate -90*x scale 2 } }
-
- object { light_source { < 10, 30, 20 > color rgb < 1, 1, 1 > } }
-
-
-
-
-
-