# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CMRMParameters Class Reference

This class is to be used with CMRMBuilder. More...

#include <mrm_parameters.h>

List of all members.

Public Types

enum  TSkinReduction { SkinReductionMin = 0, SkinReductionMax, SkinReductionBest }
 For skinning, how vertex skinning is degraded, When 2 SkinWeights are blended. More...


Public Methods

 CMRMParameters ()
 Constructor. More...


Public Attributes

uint32 NLods
 numbers of LODs wanted (11 by default). More...

uint32 Divisor
 minimum faces wanted (a divisor of number of faces in baseMesh, 20 by default). More...

TSkinReduction SkinReduction
 If mesh is skinned, control the quality of the skinning redcution. More...

float DistanceFinest
 The MRM has its max faces when dist<=DistanceFinest. nlassert if <0. More...

float DistanceMiddle
 The MRM has 50% of its faces at dist==DistanceMiddle. nlassert if <= DistanceFinest. More...

float DistanceCoarsest
 The MRM has faces/Divisor when dist>=DistanceCoarsest. nlassert if <= DistanceMiddle. More...


Detailed Description

This class is to be used with CMRMBuilder.

It describe parameters of MRM build process.

Author:
Lionel Berenguier , Nevrax France
Date:
2001

Definition at line 42 of file mrm_parameters.h.


Member Enumeration Documentation

enum NL3D::CMRMParameters::TSkinReduction
 

For skinning, how vertex skinning is degraded, When 2 SkinWeights are blended.

SkinReductionMin is the fastest, and SkinReductionBest is the slowest (but the best). Default is SkinReductionMax.

Enumeration values:
SkinReductionMin 
SkinReductionMax 
SkinReductionBest 

Definition at line 49 of file mrm_parameters.h.


Constructor & Destructor Documentation

NL3D::CMRMParameters::CMRMParameters   [inline]
 

Constructor.

Definition at line 77 of file mrm_parameters.h.

References DistanceCoarsest, DistanceFinest, DistanceMiddle, Divisor, NLods, SkinReduction, and SkinReductionMax.


Member Data Documentation

float NL3D::CMRMParameters::DistanceCoarsest
 

The MRM has faces/Divisor when dist>=DistanceCoarsest. nlassert if <= DistanceMiddle.

Definition at line 72 of file mrm_parameters.h.

Referenced by CMRMParameters.

float NL3D::CMRMParameters::DistanceFinest
 

The MRM has its max faces when dist<=DistanceFinest. nlassert if <0.

Definition at line 68 of file mrm_parameters.h.

Referenced by CMRMParameters.

float NL3D::CMRMParameters::DistanceMiddle
 

The MRM has 50% of its faces at dist==DistanceMiddle. nlassert if <= DistanceFinest.

Definition at line 70 of file mrm_parameters.h.

Referenced by CMRMParameters.

uint32 NL3D::CMRMParameters::Divisor
 

minimum faces wanted (a divisor of number of faces in baseMesh, 20 by default).

Definition at line 60 of file mrm_parameters.h.

Referenced by CMRMParameters.

uint32 NL3D::CMRMParameters::NLods
 

numbers of LODs wanted (11 by default).

Definition at line 58 of file mrm_parameters.h.

Referenced by CMRMParameters.

TSkinReduction NL3D::CMRMParameters::SkinReduction
 

If mesh is skinned, control the quality of the skinning redcution.

Definition at line 62 of file mrm_parameters.h.

Referenced by CMRMParameters.


The documentation for this class was generated from the following file: