Quick Introduction to OpenGL:

OpenGL is my friend. I began developing with GL while working for a game developer company, and I haven't stopped since.

Here's a sample MFC skeleton SDI document with openGl support, created using Visual Studio MFC app wizard, all I have added was a few simple lines of code to set up the GL rendering context.

This kind of example can be useful for beginners who are having problems understanding MFC and GL interaction. If you have a good grasp of C++ you should be able to track down the code that prepares the GL rendering context.

MfcOpengl.zip

Below is the document I used as a reference for coding the above the example, should be simple enough to follow.

MfcOpengl.doc

Hosted by www.Geocities.ws

1