D:/CHAI3D/build-2-0-0/2.0.0/win32/src/files/CFileLoaderOBJ.h File Reference

Files
OBJ Format 3D Model Loader. More...

#include "math/CMatrix3d.h"
#include "math/CVector3d.h"
#include "graphics/CVertex.h"
#include "graphics/CTriangle.h"
#include "graphics/CMaterial.h"
#include "graphics/CTexture2D.h"
#include "scenegraph/CMesh.h"
#include "scenegraph/CWorld.h"
#include "scenegraph/CLight.h"
#include <string>
#include <stdio.h>
#include <map>

Go to the source code of this file.

Functions

bool cLoadFileOBJ (cMesh *iMesh, const string &iFileName)
 Loads a OBJ image by providing a filename and mesh in which object is loaded.

Variables

bool g_objLoaderShouldGenerateExtraVertices


Detailed Description

Files
OBJ Format 3D Model Loader.


Variable Documentation

Clients can use this to tell the obj loader how to behave in terms of vertex merging.
If true (default), loaded obj files will have three _distinct_ vertices per triangle, with no vertex re-use.



CHAI3D 2.0.0 documentation
Please address any questions to support@chai3d.org
(C) 2003-2009 - CHAI 3D
All Rights Reserved.