home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Graphics / graphics-16000.iso / msdos / raytrace / rayshade / examples / ashtray.ray < prev    next >
Text File  |  1992-04-30  |  483b  |  24 lines

  1. /*
  2.  * Painted ashtray
  3.  * C Kolb 12/90
  4.  * Set IMAGEFILE to image you wish to use.
  5.  */
  6. #ifndef IMAGEFILE
  7. #define IMAGEFILE /usr/u/utah/img/mandrill.rle
  8. #endif
  9.  
  10. report verbose
  11.  
  12. #include "ashtray.def"
  13.  
  14. surface white ambient .1 .1 .1 diffuse .6 .6 .6 specular .4 .4 .4
  15. plane white 0 0 -3  0 0 1
  16. object ashtray
  17.     texture image IMAGEFILE map planar
  18.         scale 10 10 1 translate -5 -5 0
  19.  
  20. light 1. directional -.5 -1 1.9
  21. background .1 .3 .8
  22. eyep 5. -15 13.
  23. screen 256 256
  24.