Advertisement
Java_Volume1 Graphics #95346

OpenGL Example Program (Loading TGA Files)

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.

AI

KI-Zusammenfassung: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Quellcode
original-source
Upload
Originalkommentare (3)
Wiederhergestellt von der Wayback Machine