| Home | About | Links | Problems | My Graphics BaseCode | Mesh Structures | 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.
The HTable structure represents a geometric hash of 3-space used by BaseMesh for various indexing operations.
HTable.h, Web Version
HTable.cpp, Web Version
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.
BaseMesh.h, Web Version
BaseMesh.cpp, Web Version
BaseMesh.cpp just includes all the following other source files:
D3DMesh is a DirectX instance of the BaseMesh class.
D3DMesh.h, Web Version
D3DMesh.cpp, Web Version
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.)
Mesh.h, Web Version
Mesh.cpp, Web Version
last updated: May 13th 2005 © 2005 by Matthew Fisher