Sign in to follow this  
zyrolasting

Backgrounds

Recommended Posts

Geometrian    1810
This is an OpenGL or DirectX question. Use 2D perspective:
glViewport(*rect)
glMatrixMode(GL_PROJECTION)
glLoadIdentity()
gluOrtho2D(rect[0],rect[0]+rect[2],rect[1],rect[1]+rect[3])
glMatrixMode(GL_MODELVIEW)
glLoadIdentity()

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this