| |||||||||||
|
Main Menu Other |
Tutorials -- Basic OpenGL Application | ||||||||||
|
The Windows CodeOk, on to the fun stuff. This code has lots of wide lines of code that don't work with the layout of this site, so click here to view the source code in a new window. It's very well commented so you shouldn't get too mixed up. Put all this code into your "main.cpp" file after the line "#include "main.h" we entered earlier. Then click the Run button (the exclaimation point) and hit Ok. If all goes well you should see a window pop up with nothing but black in it. It won't do anything special, all we want is for the black window to appear. Please don't hesitate to ask right away if you have any questions or comments about this tutorial, or if some reason it won't compile. If there's something wrong or something that's hard to understand I'll fix it ASAP.
|
|||||||||||