|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CCoarseMeshBuild Class ReferenceClass used to build the coarse meshes.
More...
#include <coarse_mesh_build.h>
List of all members.
Detailed Description
Class used to build the coarse meshes.
The build method take an array of CMeshGeom an a bitmap. This class will compute a single texture used to map every coarse mesh passed in the array.
Each mesh geom should be a coarse mesh.
The uv texture coodinates of those coarse meshes will be adjusted to fit in a single texture.
-
Author:
-
Cyril 'Hulud' Corvazier , Nevrax France
-
Date:
-
2001
Definition at line 62 of file coarse_mesh_build.h.
Member Typedef Documentation
typedef std::map<std::string, CBitmapDesc> NL3D::CCoarseMeshBuild::MapBitmapDesc [private]
|
|
Member Function Documentation
|
The build method.
This method will build a single texture and adjuste the UV texture coordinates of each mesh geom. -
Parameters:
-
coarseMeshes |
is a vector of coarse mesh to compute. |
bitmap |
will receive the final bitmap. |
start |
will receive various statistics about the build process. |
mulArea |
is the mul factor used to increase to theorical global texture size. |
Definition at line 39 of file coarse_mesh_build.cpp.
References buildBitmap, MapBitmapDesc, and remapCoordinates. |
The documentation for this class was generated from the following files:
|
|