home *** CD-ROM | disk | FTP | other *** search
/ 3D Images / 3D Images.iso / programs / amiga / rayshade / rayfiles / rsdefs / docs / constants.doc < prev    next >
Encoding:
Text File  |  1995-01-12  |  1011 b   |  40 lines

  1. Constants
  2. =========
  3.     The following constants are defined:
  4.  
  5. General math constants
  6. ----------------------
  7. RSCpi            RSCe
  8.  
  9. Indeces of refraction
  10. ---------------------
  11. RSCalbite                RSCice
  12. RSCamber                RSCobsidian
  13. RSCanthorite                RSCopal
  14. RSCberyl (emerald, aquamarine)        RSCpostassiumchloride
  15. RSCcalcspar                RSCquartz
  16. RSCchrysoberyl                RSCquartzfused
  17. RSCcorundrum (ruby, sapphire)        RSCsalt
  18. RSCdiamond                RSCspinel
  19. RSCethanol                RSCsulfur
  20. RSCfluorite                RSCtopaz
  21. RSCforsterine                RSCwater
  22. RSCgelatin                RSCwax
  23. RSCglasshi                RSCzircon
  24. RSCglasslo
  25.  
  26.     To use the constants, just place them in your scene file
  27. wherever you need them.  For instance, we used RSCglasslo to make one
  28. of the standard surfaces:
  29.  
  30.     surface RSSnavyglass
  31.             ambient 0 0.05 0.1
  32.             diffuse .04 .06 .10
  33.             specular .62 .72 .82
  34.             reflect .2
  35.             transp .6
  36.             index RSCglasslo
  37.  
  38.     The file "surfaces.info" contains refractive indeces for these and other
  39. compounds as well as color discriptions for some of the compounds.
  40.