The main site for OpenGL is OpenGL - High Performance 2D-3D Graphics. Notice that the web site has a separate OpenGL Coding Resources section; look for the OpenGL Coding Tutorials there.
The Windows Platform SDK has a lot of documentation about using OpenGL in the Windows environment. If you do not have access to the documentation locally then you can view an online copy of the OpenGL Start Page. The MFC sample program CUBE demonstrates how to use OpenGL's resource contexts with MFC's device contexts. The non-MFC sample program OPENGL is also useful. There is an eight-part series of Technical Articles about OpenGL; the first one is called "OpenGL I: Quick Start". Also see "OpenGL Without the Pain: Creating a Reusable 3D View Class for MFC".
The following sites are ones that I have found that look useful. I have not looked at most of them very much (a couple of them are listed in the OpenGL Coding Tutorials):
The following is the result of searching the Microsoft SDK Knowledge Base for "OpenGL":
| 1 | Q126019 - PRB: Most Common Cause of SetPixelFormat() Failure |
| Excerpt from this page:SetPixelFormat() fails with incorrect class or window styles.(size 6240 bytes, updated 8/26/2000 8:26:00 PM GMT) | |
| 2 | Q128122 - Implementing Multiple Threads in an OpenGL Application |
| Excerpt from this page:It is possible to create multiple threads in an OpenGL application and have each thread call OpenGL functions to draw an image. You might want to do this when multiple objects need to be drawn at the same time or when you want to have certa(size 9428 bytes, updated 8/26/2000 8:26:00 PM GMT) | |
| 3 | Q131024 - Drawing Three-Dimensional Text in OpenGL Applications |
| Excerpt from this page:GDI operations, such as TextOut, can be performed on an OpenGL window only if the window is single-buffered. The Windows NT implementation of OpenGL does not support GDI graphics in a double-buffered window. Therefore, you cannot use GDI fu(size 10275 bytes, updated 8/26/2000 8:26:00 PM GMT) | |
| 4 | Q127071 - MFCOGL a Generic MFC OpenGL Code Sample |
| Excerpt from this page:Microsoft Windows NT's OpenGL can be used with the Microsoft Foundation Class (MFC) library. This article gives you the steps to follow to enable MFC applications to use OpenGL.(size 10604 bytes, updated 8/26/2000 8:26:00 PM GMT) | |
| 5 | Q131130 - HOWTO: Set the Current Normal Vector in an OpenGL Application |
| Excerpt from this page:In a Microsoft Win32 OpenGL application, it is common practice to construct objects with the(size 9225 bytes, updated 8/26/2000 8:26:00 PM GMT) | |
| 6 | Q136266 - Demonstration of OpenGL Material Property and Printing |
| Excerpt from this page:The GLBMP sample illustrates how to define the material properties of the objects in the scene: the ambient, diffuse, and specular colors; the shininess; and the color of any emitted lights. This sample also demonstrates how to print an Ope(size 7182 bytes, updated 8/16/2000 4:53:00 PM GMT) | |
| 7 | Q124870 - XFONT.C from SAMPLES\OPENGL\BOOK Subdirectory |
| Excerpt from this page:XFONT.C from the SAMPLES\OPENGL\BOOK subdirectory is not in the MAKEFILE, and subsequently is never built.(size 5619 bytes, updated 8/26/2000 6:57:00 PM GMT) | |
| 8 | Q132866 - DOCERR: Printing an OpenGL Image |
| Excerpt from this page:The documentation relating to printing an OpenGL image in the Win32 SDK versions 3.5, 3.51, and 4.0 is incorrect. The current version of Microsoft's implementation of OpenGL in Windows NT does not provide support for printing. More specifi(size 6742 bytes, updated 8/16/2000 4:53:00 PM GMT) | |
| 9 | Q148301 - GLTex Demos How to Use DIBs for Texture Mapping |
| Excerpt from this page:The GLTex sample provides a demonstration of how to use a DIB (device- independent bitmap) as a texture-map for OpenGL by pasting a DIB (chosen by the user) onto all sides of a three-dimensional cube.(size 13634 bytes, updated 8/26/2000 8:25:00 PM GMT) | |
| 10 | Q152001 - GLLT.EXE Demonstrates Simple Lighting in OpenGL |
| Excerpt from this page:The GLLight sample provides a demonstration of how the various light settings effect an OpenGL scene. The initial scene is simply a single white sphere with a single blue light (GL_LIGHT0) shining on it.(size 8864 bytes, updated 8/26/2000 8:25:00 PM GMT) | |
| 11 | Q139653 - PRB: Antialiased Polygons Not Drawn in OpenGL Antipoly Sample |
| Excerpt from this page:The antipoly sample in OpenGL SDK BOOK directory is unable to draw antialised polygons with the generic implementation of Windows NT and Windows 95 OpenGL.(size 6010 bytes, updated 8/16/2000 4:53:00 PM GMT) | |
| 12 | Q139967 - GLEXT: Demo of GL_WIN_swap_hint & GL_EXT_vertex_array |
| Excerpt from this page:The GLEXT sample illustrates how to use the GL_WIN_swap_hint extension to speed up animation by reducing the amount of repainting between frames and how to use GL_EXT_vertex_array extension to provide fast rendering of multiple geometric pr(size 8824 bytes, updated 8/16/2000 4:53:00 PM GMT) | |
| 13 | Q151489 - INFO: When to Select and Realize OpenGL Palettes |
| Excerpt from this page:An OpenGL application must select and realize its palette before setting the current rendering context with wglMakeCurrent.(size 5938 bytes, updated 8/26/2000 8:25:00 PM GMT) | |
| 14 | Q160817 - Demonstrates OpenGL Texture-Mapping Capabilities |
| Excerpt from this page:GLTEXTUR.EXE provides a demonstration of how to use a Device-independent Bitmap (DIB) as a texture-map for OpenGL by pasting a DIB (chosen by the user) onto three different OpenGL objects.(size 13644 bytes, updated 8/26/2000 8:25:00 PM GMT) | |
| 15 | Q156473 - BUG: Windows NT Version 4.0 Bug List - GDI |
| Excerpt from this page:This article lists the bugs in the implementation of the Win32 API on Windows NT 4.0 that may be relevant to Application or Device Driver developers (ISVs or IHVs). This article contains only those bugs that were known at the time of the Wi(size 8703 bytes, updated 8/16/2000 4:53:00 PM GMT) | |
| 16 | Q154877 - OpenGL 1.1 Release Notes & Components |
| Excerpt from this page:Opengl95.exe contains the release notes for OpenGL version 1.1 for Windows 95 and all of the components associated with OpenGL such as the DLL, library, and include files.(size 10852 bytes, updated 11/24/1999 3:27:00 PM GMT) | |
| 17 | Q163677 - BUG: OpenGL Color Problems Using Service Pack 2 for Win NT 4.0 |
| Excerpt from this page:When you use Service Pack 2 for Windows NT 4.0, various coloring problems may arise that are not present in previous versions. The coloring problems involve drawing the wrong colors in a variety of situations.(size 6538 bytes, updated 12/3/1999 6:32:00 PM GMT) | |
| 18 | Q169954 - INFO: Layer Planes in OpenGL |
| Excerpt from this page:Layer Planes are a new feature in the Microsoft implementation of OpenGL 1.1. Before using OpenGL layer planes, there are several new functions and some driver dependency issues that you should be aware of.(size 7881 bytes, updated 8/26/2000 8:25:00 PM GMT) | |
| 19 | Q176752 - Glen.exe Shows How to Enumerate Pixel Formats in OpenGL |
| Excerpt from this page:The GLEnum sample provides a demonstration of how to enumerate pixel formats and method for checking the available pixel formats provided on your machine. The GLEnum sample is included in Glen.exe.(size 7930 bytes, updated 8/26/2000 8:24:00 PM GMT) | |
| 20 | Q228099 - PRB: wglUseFontOutlines Does Not Handle DBCS |
| Excerpt from this page:On Windows 98, the OpenGL function wglUseFontOutlines does not work with DBCS or UNICODE strings. On Windows NT, UNICODE strings work; however, DBCS strings do not.(size 7278 bytes, updated 8/16/2000 4:52:00 PM GMT) | |
| 21 | Q233390 - BUG: First Chance Exceptions When Calling ChoosePixelFormat |
| Excerpt from this page:The following error is displayed in the debug window of Visual C++:(size 5483 bytes, updated 5/26/1999 10:36:00 PM GMT) |
See my Visual C++ Programmer Stuff page for more C++ stuff.