home *** CD-ROM | disk | FTP | other *** search
/ ftp.hitl.washington.edu / ftp.hitl.washington.edu.tar / ftp.hitl.washington.edu / pub / people / habib / kodak / define.h < prev    next >
Text File  |  2000-04-18  |  805b  |  24 lines

  1. // This is the number of Edges that divides my distortion corrected image so that
  2. // I use hardware texture mapping acceleration to correct my image distortion before 
  3. // I project it on the dome.
  4. /*
  5. ---------------------
  6. |   |   |   |   |   |
  7. |   |   |   |   |   |
  8. ---------------------         <---- This is my image gridded.
  9. |   |   |   |   |   |
  10. |   |   |   |   |   |
  11. ---------------------
  12. For instance in this picture DefNumOfEdgesInX = 6 since there is 6 vertical   lines
  13. and                          DefNumOfEdgesinY = 3 since there is 3 horizontal lines
  14.   */
  15.  
  16. #define DefNumOfEdgesInX 101
  17. #define DefNumOfEdgesInY 101
  18. // Texture Variables -----------------------------------------------Textrue Variables
  19. #define TEX_WIDTH  256
  20. #define TEX_HEIGHT 128
  21. #define DistWidth  512
  22. #define DistHeight 512
  23.  
  24.