|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CLodCharacterShapeBuild Class ReferenceA build structure information for building a CLodCharacterShape This is the structure exported from the 3D editor.
More...
#include <lod_character_shape.h>
List of all members.
Detailed Description
A build structure information for building a CLodCharacterShape This is the structure exported from the 3D editor.
-
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2002
Definition at line 46 of file lod_character_shape.h.
Constructor & Destructor Documentation
NL3D::CLodCharacterShapeBuild::CLodCharacterShapeBuild |
( |
|
) |
|
|
Member Function Documentation
void NL3D::CLodCharacterShapeBuild::compile |
( |
const std::vector< bool > & |
triangleSelection, |
|
|
uint |
textureOverSample = 25 |
|
) |
|
|
|
compile the lod: compute Texture Information.
-
Parameters:
-
triangleSelection. |
If not same size as triangles, not used. Else texture info is filled only with triangles whose their triangleSelection[triId]==true |
textureOverSample |
is rounded to the best square (4,9,...). Prefer a srq(oddVal): 1,9,25,49 etc... NB: overSamples are not averaged, but the nearest sample to the texel center is taken. |
Definition at line 65 of file lod_character_shape.cpp.
References _Height, _TextureInfo, _Width, min, NL3D_CLOD_TEXT_HEIGHT, NL3D_CLOD_TEXT_WIDTH, nlassert, Normals, NLMISC::sqr, TriangleIndices, UVs, v, Vertices, x, and y. |
uint NL3D::CLodCharacterShapeBuild::getTextureInfoHeight |
( |
|
) |
const [inline] |
|
uint NL3D::CLodCharacterShapeBuild::getTextureInfoWidth |
( |
|
) |
const [inline] |
|
|
serial.
Definition at line 272 of file lod_character_shape.cpp.
References _Height, _TextureInfo, _Width, BonesNames, NL3D_CLOD_TEXT_HEIGHT, NL3D_CLOD_TEXT_WIDTH, Normals, NLMISC::IStream::serial, NLMISC::IStream::serialCheck, NLMISC::IStream::serialCont, NLMISC::IStream::serialVersion, SkinWeights, TriangleIndices, UVs, and Vertices. |
Member Data Documentation
uint32 NL3D::CLodCharacterShapeBuild::_Height [private]
|
|
std::vector<CPixelInfo> NL3D::CLodCharacterShapeBuild::_TextureInfo [private]
|
|
uint32 NL3D::CLodCharacterShapeBuild::_Width [private]
|
|
std::vector<std::string> NL3D::CLodCharacterShapeBuild::BonesNames
|
|
std::vector<CVector> NL3D::CLodCharacterShapeBuild::Normals
|
|
std::vector<uint32> NL3D::CLodCharacterShapeBuild::TriangleIndices
|
|
std::vector<CUV> NL3D::CLodCharacterShapeBuild::UVs
|
|
std::vector<CVector> NL3D::CLodCharacterShapeBuild::Vertices
|
|
The documentation for this class was generated from the following files:
|
|