PDA

View Full Version : Please help?



08-24-2003, 10:30 AM
I it is necessary to draw polygon on screen, but me this it is necessary to do with screen coordinate.

For example:

// x=1024/2, y=768/2 (int type)
glDrawLayer(1024/2,768/2,texture_id);

beside me this works only I happen to to use 3D system coordinates

// x=1.5, y=1.5 z=1.0 (float type)
glDrawLayer(1.5,1.5,1.0,texture_id);


Say please how do I realize this.

Sorry for my english.