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

  1. // Persistence of Vision Raytracer
  2. // Sample file
  3. // By ???
  4.  
  5. #include "shapes.dat"
  6. #include "colors.dat"
  7. #include "textures.dat"
  8.  
  9. view_point
  10.    direction <0.0 0.0  1.0>
  11.    up  <0.0  1.0  0.0>
  12.    right <1.333 0.0 0.0>
  13.    translate <0.0 0.0 -56.0>
  14. end_view_point
  15.  
  16. object
  17.    intersection
  18.       sphere <0.0 0.0 0.0> 1.0 end_sphere
  19.       sphere <0.0 0.0 0.0> 0.9 end_sphere
  20.       plane  <0.0 1.0 0.0> 0.5 end_plane
  21.    end_intersection
  22.    bounded_by
  23.       sphere <0.0 0.0 0.0> 21.0 end_sphere
  24.    end_bound
  25.    scale < 20.0 20.0 20.0 >
  26.    texture
  27.       0.05
  28.       colour CRed
  29.       ambient 0.3
  30.       diffuse 0.8
  31.       reflection 0.1
  32.    end_texture
  33.    colour CRed
  34. end_object
  35.  
  36. object
  37.    intersection
  38.       sphere <0.0 0.0 0.0> 1.0 end_sphere
  39.       plane <0.0 1.0 0.0> 0.49 end_plane
  40.    end_intersection
  41.    bounded_by
  42.       sphere <0.0 0.0 0.0> 21.0 end_sphere
  43.    end_bound
  44.    scale < 19.5 19.5 19.5 >
  45.    texture
  46.        ripples 0.5
  47.        frequency 100.0
  48.        scale <100.0 100.0 100.0>
  49.        reflection 0.6
  50.        refraction 0.6
  51.        ior 1.2
  52.    end_texture
  53.    colour Grey
  54. end_object
  55.  
  56.  
  57. object
  58.    plane <0.0 1.0 0.0> -20.0 end_plane
  59.  
  60.    texture
  61.       0.05
  62.       Tan_Wood
  63.       rotate <-45.0 0.0 0.0>
  64.       scale <15.0 8.0 8.0>
  65.       ambient 0.3
  66.       diffuse 0.8
  67.       reflection 0.1
  68.    end_texture
  69.    colour Tan
  70. end_object
  71.  
  72. object
  73.    plane <0.0 0.0 1.0> 100.0 end_plane
  74.  
  75.    texture
  76.       Red_Marble
  77.       scale <100.0 100.0 100.0>
  78.       ambient 0.3
  79.       diffuse 0.8
  80.       reflection 0.1
  81.    end_texture
  82.    color Pink
  83. end_object
  84.  
  85. object
  86.    plane <0.0 1.0 0.0> 150.0 end_plane
  87.  
  88.    texture
  89.      colour red 0.5 green 0.5 blue 1.0
  90.      ambient 0.3
  91.      diffuse 0.8
  92.    end_texture
  93.    colour red 0.5 green 0.5 blue 1.0
  94. end_object
  95.  
  96. object
  97.    sphere <0.0 0.0 0.0> 5.0 end_sphere
  98.  
  99.    translate <100.0  120.0  -130.0>
  100.    texture
  101.      colour White
  102.      ambient 1.0
  103.      diffuse 0.0
  104.    end_texture
  105.    light_source
  106.    colour White
  107. end_object
  108.