VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



OpenGL Example Program (Loading TGA Files)

by Dustin Davis (17 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (13 Votes)

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)

Download OpenGL Example Program (Loading TGA Files)

Download OpenGL Example Program (Loading TGA Files) (258 KB)

OpenGL Example Program (Loading TGA Files) Comments

No comments have been posted about OpenGL Example Program (Loading TGA Files). Why not be the first to post a comment about OpenGL Example Program (Loading TGA Files).

Post your comment

Subject:
Message:
0/1000 characters