View Full Version : glortho
I'm really new to opengl. Could someone post a very simple but complete example that uses glortho to change the coordinate scale so that it matches the screen coordinates? Then do something trivial like draw a triangle?
12-15-2002, 12:15 AM
Using glOrtho is explained on the FAQ on this website, have a look there, you will find tons of OpenGL tutorials on google including what you are looking for.
If you are using Windows and aren't that familiar with the Win32 API I would suggest that you get GLUT for example to hide the ugly platform dependent stuff.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.