home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / raytrace / radiance / simplerd.lha / simplerad / FinalFTP / Light / display.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-05-21  |  1.3 KB  |  38 lines

  1. /**********************************************************************/
  2. /* display.h                                                          */
  3. /*                                                                    */
  4. /* Copyright (C) 1992, Bernard Kwok                                   */
  5. /* All rights reserved.                                               */
  6. /* Revision 1.0                                                       */
  7. /* May, 1992                                                          */
  8. /**********************************************************************/
  9. #ifndef DISPLAY_H
  10. #define DISPLAY_H
  11.  
  12. #define RGB_SCALE 255.0       /* For scaling to RGB colour */
  13. #define RGB_ROUND 0.5
  14.  
  15. #define INITIAL_DISPLAY 0     /* Flag to mark initial PR display */
  16.  
  17. #ifndef VTX_TOLERANCE
  18. #define VTX_TOLERANCE (0.0001)
  19. #endif
  20.  
  21. /**********************************************************************/
  22. /* Prototypes */
  23. /**********************************************************************/
  24. ColourChar SpectraToRGB();
  25. int Poly_SameProperties();
  26. int Poly_SamePlane();
  27. void Interpolate_FromPatches();
  28. void Interpolate_FromVertices2();
  29. void Interpolate_FromVertices();
  30.  
  31. extern void DisplayResults();
  32. extern void Draw_Element();
  33. extern void Draw_ElementRGB();
  34. extern void StoreResults();
  35. extern void Update_ElementRGBA();
  36.  
  37. #endif /* DISPLAY_H */
  38.