Search Tools Links Login

OpenGL Example Program (Loading TGA Files)


Visual Basic 6, or VB Classic

OpenGL in Visual Basic is a largely unexplored area. I did a search on PSC 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 http://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.

Original Author: Dustin Davis

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 167 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD15654312001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 277,251 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.