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 >
Wrap
Text File
|
2000-04-18
|
805b
|
24 lines
// This is the number of Edges that divides my distortion corrected image so that
// I use hardware texture mapping acceleration to correct my image distortion before
// I project it on the dome.
/*
---------------------
| | | | | |
| | | | | |
--------------------- <---- This is my image gridded.
| | | | | |
| | | | | |
---------------------
For instance in this picture DefNumOfEdgesInX = 6 since there is 6 vertical lines
and DefNumOfEdgesinY = 3 since there is 3 horizontal lines
*/
#define DefNumOfEdgesInX 101
#define DefNumOfEdgesInY 101
// Texture Variables -----------------------------------------------Textrue Variables
#define TEX_WIDTH 256
#define TEX_HEIGHT 128
#define DistWidth 512
#define DistHeight 512