VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

OpenGL Example Program (Loading TGA Files)

Dustin Davis  (17 Submissions)   Graphics   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

OpenGL in Visual Basic is a largely unexplored area. I did a search on VBC for OpenGL and came up with a mere handful of results. Some of the submissions were quite good, however I felt that they were a little too complex for the beginner in OpenGL. This submission is an altered version of a port to VB from C++ (Original tutorial + VB port available on https://nehe.gamedev.net). This demo initializes OpenGL in fullscreen mode and displays a mipmapped textured cube which you can rotate. The main feature I'm trying to demonstrate here is loading a TGA file from disk and using it as an OpenGL texture. You will need hardware acceleration of some form to view this demo at any form of acceptable frame rate, but I consider this an acceptable requirement.

Rate OpenGL Example Program (Loading TGA Files) (13(13 Vote))

Download OpenGL Example Program (Loading TGA Files)

OpenGL Example Program (Loading TGA Files) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters