home *** CD-ROM | disk | FTP | other *** search
- // Persistence of Vision Raytracer
- // Sample file
- // By Drew Wells
-
- // Spline.Dat - This file requires merry.inc
-
- // Drew Wells 1990 CIS 73767,1244
-
- // This is a huge word "Merry" written in cursive over a reflective
- // checkered plain. Normally i avoid using the cliched checkered plane,
- // but here it looks good with the huge, holiday "Merry".
-
-
- #include "shapes.dat"
- #include "colors.dat"
- #include "textures.dat"
-
- //#include "merry.inc"
-
- view_point
- location <10.0 25.0 -550.0>
- direction <0.0 0.0 3.0>
- up <0.0 1.0 0.0>
- right <1.33333 0.0 0.0>
- look_at <120.0 45.0 0.0>
- end_view_point
-
- { Put down the beloved famous raytrace green/yellow checkered floor }
- object
- plane <0.0 1.0 0.0> 17.0 end_plane
- texture
- checker
- colour red 1.0 blue 1.0 green 1.0
- colour red 0.1 green 0.6 blue 0.1
- scale < 20.0 20.0 20.0 >
- reflection 0.5
- ambient 0.1
- diffuse 0.8
- end_texture
- colour red 1.0 green 1.0 blue 1.0
- end_object
-
- object
- union Merry end_union
- texture
- color red 1.0
- ambient 0.1
- diffuse 0.9
- end_texture
- end_object
-
- object
- sphere <0.0 0.0 0.0> 5.0 end_sphere
- translate <200.0 120.99 -330.0>
- texture
- colour White
- ambient 1.0
- diffuse 0.0
- end_texture
- light_source
- colour White
- end_object
-
- {
- object
- sphere <0.0 0.0 0.0> 5.0 end_sphere
- translate <-100.0 120.99 -330.0>
- texture
- colour White
- ambient 1.0
- diffuse 0.0
- end_texture
- light_source
- colour White
- end_object
- }
-