Really Old Stuff

mfGraph Library

An Open Source library (published under the LGPL) for working with graphs in the GraphViz DOT format. With mfGraph comes a GUI that serves both as a shell to DOT.EXE and as a point-and-click graph drawing tool with metafile output. Go to the project homepage.

DirectX Borland LIBs

Download the Borland-compatible DirectX 8 LIB files (Jan 11, 2001)
Download a ZIP file containing the OMF versions of the DirectX 8 import libraries. A wrapper DLL for the Direct3DX Utility Library (D3DX8.LIB, retail version) is also included.

Legacy Articles

Articles are sorted by date of first publication. Newer ones are at the top.

Software Design

Large-Scale Physical C++ Design (Presentation; Oct 27, 2003)
The HTML presentation for a talk I gave at my company on physical software design. An introduction to physical design for improving software quality, achieving maintainability, and facilitating code reuse. (To be viewed full-screen with large fonts.)


Triangulating and Extruding Arbitrary Polygons (May 7, 2001)
This is a tutorial on polygon triangulation and extrusion. The article discusses how you can use OpenGL services to produce a 3D text mesh for use in a Direct3D 8 application. There’s also some interesting information about calculating vertex normals for producing smooth edges.

Taking Screenshots with Direct3D 8 (Feb 24, 2001)
This article walks you through the code of a Screenshot function which you can use in your Direct3D 8 applications to store a rendered scene to a Windows bitmap file.

Building a Direct3D Particle Engine (Aug 16, 2000)
This tutorial will show you how you can spice up your game by using particle engines for special effects. It covers everything from Direct3D-specifics to engine architecture, and comes with readily usable source code.

Getting Started with IDirectDrawSurface::Lock (Jul 15, 2000)
This article explains how to access the DirectDraw frame buffer directly, using IDirectDrawSurface::Lock, lpSurface, lPitch, DDPIXELFORMAT, etc. As a demo, we are going to write a fast animated flag effect (compilable source code included).

Fast Bitmap Fonts for DirectDraw – Converting from TrueType Fonts (Jun 20, 2000)
This tutorial presents a method to render fonts faster than the GDI. The complete source code of the font engine is included, as well as a utility to convert any TrueType font to the proprietary DirectDraw font file format.

Using the GDI to Take DirectDraw Screenshots (Jun 2, 2000)
This tutorial explains how you can save the contents of DiectDraw surfaces to standard bitmap files. The article contains the complete source code of a one-call Screenshot function which supports all possible pixel formats.


Compiling the DirectX 8 SDK Samples with C++Builder (Nov 21, 2000)
Last update: June 8, 2001

Using DirectX with C++Builder (Aug 17, 2000)
This article covers everything you need to know to successfully use DirectX with C++Builder–with or without the VCL. A complete C++Builder Project is included.


Leave a Reply

Your email address will not be published. Required fields are marked *

Python and C++, GNU/Linux, computer stuff…