An OpenGL wrappter for Visual Basic
(Download the source here)
This product allows the majority of functionality of OpenGL to be readily available in Visual Basic (or any other language that understands COM). For the most part, the OpenGL calls are available as method calls in the cmkgl class. The only exception to this is in the area of tesselation.
The wrapper also provides the symbolic names for the OpenGL constant definitions. They are available with Intelli-sense, so you don't have to remember the exact name and spelling of all those GL_xxx symbols.
Usage:
To prepare your PC, follow these easy steps:
- Download the executable file "cmkgl.dll" (from here).
- Copy cmkgl.dll to a suitable place. Many use the windows or winnt folder for that.
- Open a command prompt, cd to the place where your cmkgl.dll is located, and run regsvr32 cmkgl.dll
- In all Visual Basic Projects that use OpenGL, select "OpenGL functions" in the References list
A small sample project is provided for your convenience. Download it here.
|