Keos::CMDLQ1Loader Class Reference

MDL (Quake 1) Mesh loader. More...

#include <KeosMDLQ1Loader.h>

Inheritance diagram for Keos::CMDLQ1Loader:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual CMeshLoadFromFile (const String &strFilename)
 Load a mesh from a file.

Classes

struct  TFrame
struct  THeader
 MDL Header.
struct  TPoint
struct  TTexCoord
 This stores texture UV coordinates.
struct  TTexture
struct  TTriangle

Detailed Description

MDL (Quake 1) Mesh loader.

Definition at line 33 of file KeosMDLQ1Loader.h.


Member Function Documentation

CMesh * Keos::CMDLQ1Loader::LoadFromFile ( const String strFilename  )  [virtual]

Load a mesh from a file.

Parameters:
strFilename Name of the file to be loaded.
Returns:
Pointer on the created model.

Todo:
I convert in 32 bits not in 24 bits because Direct3D have a problem with 24 bits textures

Reimplemented from Keos::ILoader< T >.

Definition at line 37 of file KeosMDLQ1Loader.cpp.

References Keos::CMesh::AddMaterial(), Keos::CMesh::AddMeshGeom(), Keos::CMaterial::CreateTexture(), int(), LOADINGFAILED_EXCEPT, Keos::ILogger::Log(), Keos::PXF_A8R8G8B8, Renderer, and Keos::CColor::White.


The documentation for this class was generated from the following files:
Generated on Fri Mar 9 14:29:25 2007 for Keos by  doxygen 1.5.1-p1