Matt's Source Code Portal

Home About Links Problems My Graphics BaseCode Contact

Mesh Structures is just a folder that contains source and headers included by Engine.cpp or Engine.h; files in the directory are not directly compiled and linked into the project. These files all center around creating and manipulating triangle meshes. These meshes are "simple" in that they contain no adjaceny or connectivity information.

HTable

The HTable structure represents a geometric hash of 3-space used by BaseMesh for various indexing operations.

x HTable.h, Web Version
x HTable.cpp, Web Version

BaseMesh

BaseMesh is an abstract mesh class that defines basic mesh functionality. It also includes source for most of the manipulation (shape generation, file loading, etc.) that is possible under this generic structure.

x BaseMesh.h, Web Version
x BaseMesh.cpp, Web Version

BaseMesh.cpp just includes all the following other source files:

x BaseMeshBounding.cpp, Web Version
x BaseMeshFiles.cpp, Web Version
x BaseMeshIndexing.cpp, Web Version
x BaseMeshMemory.cpp, Web Version
x BaseMeshShapes.cpp, Web Version
x BaseMeshSplitting.cpp, Web Version
x BaseMeshVertexModifiers.cpp, Web Version

D3DMesh

D3DMesh is a DirectX instance of the BaseMesh class.

x D3DMesh.h, Web Version
x D3DMesh.cpp, Web Version

Mesh

Mesh is a standard C++ array instance of the BaseMesh class. It's the only kind that can be used by OpenGL, but it will run fine under DirectX as well (if not as quickly as a D3DMesh.)

x Mesh.h, Web Version
x Mesh.cpp, Web Version


last updated: May 13th 2005   © 2005 by Matthew Fisher