home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / raytrace / rayshade / examples / x29m.ray < prev   
Text File  |  1992-05-05  |  927b  |  46 lines

  1. /* Converted by rsconvert */
  2.  
  3. /*
  4.  * Example rayshade input file using heightfield primitive.
  5.  * Be warned that 'example.hf' is a binary fine, and that it
  6.  * is to a large degree machine-dependent.
  7.  *
  8.  * C. Kolb 12/89
  9.  */
  10. screen 512 480 
  11. eyep -5 -0.8 0 
  12. lookp 0 0 -0.2 
  13. fov 42 
  14. light 1 
  15. directional -1 1 1 
  16. background 0.1 0.3 0.75 
  17. surface mountain     ambient 0.1 0.05 0.04 
  18.     diffuse 0.55 0.3 0.25 
  19. surface water     diffuse 0.17 0.45 0.45 
  20.     specular 1 1 1 
  21.     specpow 30 
  22.     reflect 0.7 
  23. heightfield mountain example.hf 
  24. translate -0.5 -0.5 0 
  25. scale 6 6 2.6 
  26.         translate 0 0 -0.3 
  27. rotate 0 0 1 35 
  28.         texture fbmbump 0. .28 0.5 2. 6
  29.             scale 0.2 0.2 0.2
  30.  
  31. plane water 0 0 -1 0 0 1 
  32. texture fbmbump 0 0.03 0.5 2 7 
  33. scale 0.05 0.1 0.1 
  34.  
  35. atmosphere mist 0.88 0.88 1 10 10 6 -1 10 
  36.  
  37. #include "x29.def"
  38.  
  39. object x29
  40. scale 0.025 0.025 0.025
  41. rotate 1 0 0 -20
  42. /* rotate 0 0 1 50 */
  43. rotate 0 0 1 125
  44.  
  45.  
  46.