The Dot Docs

3D model loaders

The Dot contains several units to assist in loading 3D models into your applications. Currently included are loaders for 3DS Max .ASE files, WaveFront .OBJ files, Quake2 .MD2 files and Quake3 .MD3 files.

The files and classes you can use are:

  • ASE.pas : TASEFile
  • OBJ.pas : TOBJModel
  • MD2.pas : TMD2Model
  • MD3.pas: TMD3Model

All loaders work by creating an instance of the loader and calling its LoadFromFile() method. After doing so, you end up with a memory representation of the data that's as close as possible to its representation on disk (albeit properly structured, of course). This gives applications complete freedom to do whatever they like with the data, but it also means that you may need to be somewhat familiar with the file format in question in order to use the loader.

The Delphi OpenGL Toolkit was written by Tom Nuydens.
See main page for disclaimer. For updates, visit Delphi3D.