home *** CD-ROM | disk | FTP | other *** search
- // Persistence of Vision Raytracer
- // Sample file
- // By ???
-
- #include "shapes.dat"
- #include "colors.dat"
- #include "textures.dat"
-
- view_point
- direction <0.0 0.0 1.0>
- up <0.0 1.0 0.0>
- right <1.333 0.0 0.0>
- translate <0.0 0.0 -56.0>
- end_view_point
-
- object
- intersection
- sphere <0.0 0.0 0.0> 1.0 end_sphere
- sphere <0.0 0.0 0.0> 0.9 end_sphere
- plane <0.0 1.0 0.0> 0.5 end_plane
- end_intersection
- bounded_by
- sphere <0.0 0.0 0.0> 21.0 end_sphere
- end_bound
- scale < 20.0 20.0 20.0 >
- texture
- 0.05
- colour CRed
- ambient 0.3
- diffuse 0.8
- reflection 0.1
- end_texture
- colour CRed
- end_object
-
- object
- intersection
- sphere <0.0 0.0 0.0> 1.0 end_sphere
- plane <0.0 1.0 0.0> 0.49 end_plane
- end_intersection
- bounded_by
- sphere <0.0 0.0 0.0> 21.0 end_sphere
- end_bound
- scale < 19.5 19.5 19.5 >
- texture
- ripples 0.5
- frequency 100.0
- scale <100.0 100.0 100.0>
- reflection 0.6
- refraction 0.6
- ior 1.2
- end_texture
- colour Grey
- end_object
-
-
- object
- plane <0.0 1.0 0.0> -20.0 end_plane
-
- texture
- 0.05
- Tan_Wood
- rotate <-45.0 0.0 0.0>
- scale <15.0 8.0 8.0>
- ambient 0.3
- diffuse 0.8
- reflection 0.1
- end_texture
- colour Tan
- end_object
-
- object
- plane <0.0 0.0 1.0> 100.0 end_plane
-
- texture
- Red_Marble
- scale <100.0 100.0 100.0>
- ambient 0.3
- diffuse 0.8
- reflection 0.1
- end_texture
- color Pink
- end_object
-
- object
- plane <0.0 1.0 0.0> 150.0 end_plane
-
- texture
- colour red 0.5 green 0.5 blue 1.0
- ambient 0.3
- diffuse 0.8
- end_texture
- colour red 0.5 green 0.5 blue 1.0
- end_object
-
- object
- sphere <0.0 0.0 0.0> 5.0 end_sphere
-
- translate <100.0 120.0 -130.0>
- texture
- colour White
- ambient 1.0
- diffuse 0.0
- end_texture
- light_source
- colour White
- end_object
-