More samples
If you have written or ported anything which might be of interest to others,
contact me and I'll post it here or provide a link to your site.
Simple projects without an OCX
It isn't necessary to use an ocx to develop OpenGL programs with Visual Basic.
The following samples illustrate the basic setup.
Simple.zip
(6K) - draws 3 primitives
Simple2.zip (8K) -
elementary use of a class, draws the xyz axes
SimpleText.zip (27K) - a simple animation with 3d text
New or updated as of 2/99:
MemDC.zip (9K) -
Shows how to mix GL and GDI drawing by rendering to a memory DC and blitting the
result to the screen. With Karl Stadler.
Pyramid.zip (9K) -
An interesting sample which compares a pyramid rendered with OpenGL default
shading and Gouraud shading. By Michael Damiano.
More projects without an OCX
Pick.zip (3K) -
demonstrates picking. By Ferrari.
3lights.zip (3K) -
3 lights shining on geometric primitives. By Ferrari.
Select.zip (15K) - Another picking example. By Dr. M. Husak.
Trackball.zip (190K) - A port of Gavin Bell's
trackball. By Dr. M. Husak.
TextureCube.zip
(25K) - An example of texturing and a trackball. By Dr. M. Husak.
Atlantis.zip
(25K) - Shows how to modify VB code written for P. Scribe's
type library to run with the current type library. By Patrice Scribe.
Also see the
SuperBible samples
Please send
suggestions, bug reports, and such to: