This page contains source code demonstrating how to access various graphics APIs.
3Dfx Glide programming
This source code demonstrates how to program the 3Dfx card. This code is for Microsoft Visual C++ for Windows only.You will also need the 3Dfx SDK, which you can download at http://www.3dfx.com.
To download the MSVC code for Glide 2.x (214k), click here.
Sample source code on using VESA SuperVGA modes. This demo sets the display to 640x480, 256 colours and plots some pixels. The DJGPP version utilizes the linear frame buffer provided by VBE 2.0. A function "VESAFindMode" has been added to search for a specific mode.
To download the Pascal source code (2k), click here.
To download the DJGPP/C(++) source code (3k), click here.