how to show target on screen?

Started by
1 comment, last by i love you 21 years, 5 months ago
hello all, I am developing a small maze game using help from the lesson 10 on tutorials.... I want to print a target on the screen which will always be at the center of the screen. how can i do that? my target is moving away when I rotate the scene. i have another question.... can i make opengl work on the window created thru the app wizard in vc++? if so please let me know how to do it... It wud be of great help to me.... thank you
Advertisement
Try switching to glOrtho (2D) matrix for drawing the scope....and using the 3d for the rest.
Or something like this:
push the modelview matrix
load identity
display target
pop matrix

This topic is closed to new replies.

Advertisement