home *** CD-ROM | disk | FTP | other *** search
- // Persistence of Vision Raytracer
- // Sample file
-
- #include "colors.dat"
- #include "textures.dat"
-
- view_point
- location <0.0 20.0 -125.0>
- direction <0.0 0.0 2.0>
- up <0.0 1.0 0.0>
- right <1.33333 0.0 0.0>
- look_at <0.0 25.0 0.0>
- end_view_point
-
- object
- sphere <0.0 25.0 0.0> 20.0 end_sphere
- texture
- color red 1.0 green 1.0 blue 1.0 alpha 1.0
- ambient 0.0
- diffuse 0.0
- specular 0.5
- roughness 0.0001
- reflection 0.2
- refraction 1.0
- ior 1.5
- end_texture
- end_object
- object
- sphere <0.0 0.0 0.0> 200.0 end_sphere
- texture
- Bright_Blue_Sky
- scale <30.0 10.0 10.0>
- end_texture
- end_object
- object
- sphere <0.0 0.0 0.0> 2.0 end_sphere
- translate <100.0 140.0 -130.0>
-
- texture
- colour red 0.7 green 0.7 blue 0.7
- ambient 1.0
- diffuse 0.0
- end_texture
- light_source
- end_object
-