home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / GRAPHICS / MISC / PVDAT.ZIP / EIGHT.DAT < prev    next >
Encoding:
Text File  |  1991-09-07  |  2.9 KB  |  136 lines

  1. // Persistence of Vision Raytracer
  2. // Sample file
  3. // By  Ville Saari
  4. // Copyright (c) 1991 Ferry Island Pixelboys
  5.  
  6. {
  7. *
  8. * PvRay scene description for two billiard balls
  9. * Created: 07-Jan-91
  10. * Updated: 09-Jan-91
  11. *
  12. * You will need number.iff which is included in this package.
  13. *
  14. * If you do some nice modifications or additions to this file, please send 
  15. * me a copy. My Internet address is:
  16. *
  17. *         vsaari@niksula.hut.fi
  18. }
  19.  
  20. view_point
  21.    location <-15.0 8.0 -10.0>
  22.    direction <0.0 0.0 1.0>
  23.    up <0.0 1.0 0.0>
  24.    right <1.333 0.0 0.0>
  25.    sky <0.0 1.0 0.0>
  26.    look_at <0.0 5.0 5.0>
  27. end_view_point
  28.  
  29. object
  30.    plane <0.0 1.0 0.0> 0.0 end_plane
  31.    texture
  32.       0.08
  33.       ambient 0.3
  34.       diffuse 0.7
  35.       colour green 0.7
  36.    end_texture
  37.    colour green 0.7
  38. end_object
  39.  
  40. object
  41.    sphere <0.0 5.0 0.0> 5.0 end_sphere
  42.    texture
  43.       colour red 0.0  green 0.0  blue 0.0
  44.       ambient 0.3
  45.       diffuse 0.7
  46.       brilliance 1.0 
  47.       phong 1.0      
  48.       phongsize 20
  49.       reflection 0.3
  50.    end_texture
  51.  
  52.    texture
  53.       imagemap <1.0 -1.0 0.0> iff "number.iff" once
  54.        interpolate 2.0
  55.        use_colour
  56.       end_map
  57.       translate <-0.5 -0.5 -0.5>
  58.       scale <4.0 4.0 4.0>
  59.       rotate <-30.0 20.0 -45.0>
  60.       translate <0.0 5.0 0.0>
  61.       ambient 0.3
  62.       diffuse 0.7
  63.       brilliance 1.0 
  64.       phong 1.0      
  65.       phongsize 20
  66.       reflection 0.3
  67.    end_texture
  68. end_object
  69.  
  70. object
  71.    sphere <0.0 5.0 10.0> 5.0 end_sphere
  72.    colour red 1.0 green 1.0 blue 1.0
  73.    texture
  74.       colour red 1.0 green 1.0 blue 1.0
  75.       ambient 0.3
  76.       diffuse 0.7
  77.       brilliance 1.0 
  78.       phong 1.0      
  79.       phongsize 20
  80.       reflection 0.3
  81.    end_texture
  82. end_object
  83.  
  84. composite
  85.    object
  86.       intersection
  87.          quadric
  88.             <900.0 900.0 -1.0>
  89.             <0.0 0.0 0.0>
  90.             <0.0 0.0 0.0>
  91.             0.0
  92.             translate <0.0 0.0 -30.0>
  93.          end_quadric
  94.          plane <0.0 0.0 -1.0> 0.0 end_plane
  95.       end_intersection
  96.       texture
  97.          wood
  98.          translate <50.0 -50.0 0.0>
  99.          scale <0.3 0.3 1000>
  100.          rotate <-10.0 0.0 45.0>
  101.          ambient 0.3
  102.          diffuse 0.7
  103.          phong 1.0      
  104.          phongsize 20
  105.          reflection 0.3
  106.       end_texture
  107.    end_object
  108.    object
  109.       intersection
  110.          sphere <0.0 0.0 -0.2> 1.1 end_sphere
  111.          plane <0.0 0.0 1.0> 0.0 end_plane
  112.          plane <0.0 0.0 -1.0> 0.4 end_plane
  113.       end_intersection
  114.       texture
  115.          colour red 0.2 green 0.5 blue 1.0
  116.          ambient 0.3
  117.          diffuse 0.7
  118.       end_texture
  119.    end_object
  120.    rotate <-10.0 0.0 45.0>
  121.    translate <-4.5 6.0 14.5>
  122. end_composite
  123.  
  124. object
  125.    sphere <0.0 0.0 0.0> 3.0 end_sphere
  126.    translate <-30.0 30.0 -15.0>
  127.    colour red 1.0 green 1.0 blue 1.0
  128.    texture
  129.       colour red 1.0 green 1.0 blue 1.0
  130.       ambient 1.0
  131.       diffuse 0.0
  132.    end_texture
  133.    light_source
  134. end_object
  135.