home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / tt / raysh402 / glass.ray < prev    next >
Text File  |  1992-02-09  |  531b  |  22 lines

  1. /*
  2.  * Bump-mapped transparent drinking glass on checkerboard
  3.  * C Kolb 12/90
  4.  */
  5. #include "glass.def.ray"
  6.  
  7. surface glass
  8.     diffuse .08 .08 .08 specular .2 .2 .2
  9.     reflect 1. transp 1 body .8 .8 .8 index 1.3
  10. surface white ambient 1 1 1
  11. surface red diffuse .8 0 0  ambient .1 0 0 specular .6 .6 .6
  12.  
  13. object glass glass /*texture bump 0.2 scale .2 .2 .2*/
  14.  
  15. plane ambient .1 .1 .1 diffuse .7 .7 .7 0 0 0  0 0 1
  16.         texture checker red scale .8 .8 .8 translate 0 0 -.2
  17.  
  18. background .1 .3 .8
  19. eyep 0 -10 7
  20. fov 30
  21. light 1. directional 1. -1. 1.
  22.