home *** CD-ROM | disk | FTP | other *** search
- // Persistence of Vision Raytracer
- // Sample file
- // By Ville Saari
- // Copyright (c) 1991 Ferry Island Pixelboys
-
- {
- *
- * PvRay scene description for two billiard balls
- *
- * Created: 07-Jan-91
- * Updated: 09-Jan-91
- *
- * You will need number.iff which is included in this package.
- *
- * If you do some nice modifications or additions to this file, please send
- * me a copy. My Internet address is:
- *
- * vsaari@niksula.hut.fi
- }
-
- view_point
- location <-15.0 8.0 -10.0>
- direction <0.0 0.0 1.0>
- up <0.0 1.0 0.0>
- right <1.333 0.0 0.0>
- sky <0.0 1.0 0.0>
- look_at <0.0 5.0 5.0>
- end_view_point
-
- object
- plane <0.0 1.0 0.0> 0.0 end_plane
- texture
- 0.08
- ambient 0.3
- diffuse 0.7
- colour green 0.7
- end_texture
- colour green 0.7
- end_object
-
- object
- sphere <0.0 5.0 0.0> 5.0 end_sphere
- texture
- colour red 0.0 green 0.0 blue 0.0
- ambient 0.3
- diffuse 0.7
- brilliance 1.0
- phong 1.0
- phongsize 20
- reflection 0.3
- end_texture
-
- texture
- imagemap <1.0 -1.0 0.0> iff "number.iff" once
- interpolate 2.0
- use_colour
- end_map
- translate <-0.5 -0.5 -0.5>
- scale <4.0 4.0 4.0>
- rotate <-30.0 20.0 -45.0>
- translate <0.0 5.0 0.0>
- ambient 0.3
- diffuse 0.7
- brilliance 1.0
- phong 1.0
- phongsize 20
- reflection 0.3
- end_texture
- end_object
-
- object
- sphere <0.0 5.0 10.0> 5.0 end_sphere
- colour red 1.0 green 1.0 blue 1.0
- texture
- colour red 1.0 green 1.0 blue 1.0
- ambient 0.3
- diffuse 0.7
- brilliance 1.0
- phong 1.0
- phongsize 20
- reflection 0.3
- end_texture
- end_object
-
- composite
- object
- intersection
- quadric
- <900.0 900.0 -1.0>
- <0.0 0.0 0.0>
- <0.0 0.0 0.0>
- 0.0
- translate <0.0 0.0 -30.0>
- end_quadric
- plane <0.0 0.0 -1.0> 0.0 end_plane
- end_intersection
- texture
- wood
- translate <50.0 -50.0 0.0>
- scale <0.3 0.3 1000>
- rotate <-10.0 0.0 45.0>
- ambient 0.3
- diffuse 0.7
- phong 1.0
- phongsize 20
- reflection 0.3
- end_texture
- end_object
- object
- intersection
- sphere <0.0 0.0 -0.2> 1.1 end_sphere
- plane <0.0 0.0 1.0> 0.0 end_plane
- plane <0.0 0.0 -1.0> 0.4 end_plane
- end_intersection
- texture
- colour red 0.2 green 0.5 blue 1.0
- ambient 0.3
- diffuse 0.7
- end_texture
- end_object
- rotate <-10.0 0.0 45.0>
- translate <-4.5 6.0 14.5>
- end_composite
-
- object
- sphere <0.0 0.0 0.0> 3.0 end_sphere
- translate <-30.0 30.0 -15.0>
- colour red 1.0 green 1.0 blue 1.0
- texture
- colour red 1.0 green 1.0 blue 1.0
- ambient 1.0
- diffuse 0.0
- end_texture
- light_source
- end_object
-