home *** CD-ROM | disk | FTP | other *** search
- // Persistence of Vision Raytracer
- // Sample qaurtic file
- // by Alexander Enzmann
-
- #include "shapes.dat"
- #include "colors.dat"
- #include "textures.dat"
- #include "shapesq.dat"
-
- object
- quartic Piriform sturm end_quartic
- rotate <0 0 -90>
- translate <0 0.5 0>
- scale <2 10 2>
- texture
- color SteelBlue
- phong 1.0
- phongsize 20
- ambient 0.2
- diffuse 0.8
- end_texture
- end_object
-
- view_point
- location <0.0 0.0 -12.0>
- up <0.0 1.0 0.0>
- right <1.33 0.0 0.0>
- look_at <0.0 0.0 0.0>
- end_view_point
-
- object
- sphere <0 0 0> 1 end_sphere
- translate <200 30 -500>
- texture
- colour White
- ambient 1.0
- diffuse 0.0
- end_texture
- light_source
- colour White
- end_object
-