mesh_mrm_skinned.h File Reference


Detailed Description

Optimised shape for skinned object with MRM, 1 UV coordinates, 1 to 4 skinning weight and 256 matrices This shape works only in skin group mode. You must enable the mesh skin manager in the render traversal of your scene to used this model. Tangent space, vertex program, mesh block rendering and vertex buffer hard are not available.

Id
mesh_mrm_skinned.h,v 1.3 2004/01/15 17:33:18 lecroart Exp

Definition in file mesh_mrm_skinned.h.

#include "nel/misc/types_nl.h"
#include "3d/shape.h"
#include "3d/driver.h"
#include "nel/misc/aabbox.h"
#include "nel/misc/uv.h"
#include "3d/vertex_buffer.h"
#include "3d/material.h"
#include "3d/primitive_block.h"
#include "3d/animated_material.h"
#include "3d/mesh_base.h"
#include "3d/mesh.h"
#include "3d/mrm_mesh.h"
#include "3d/mrm_parameters.h"
#include "3d/bone.h"
#include "3d/mesh_geom.h"
#include "3d/mrm_level_detail.h"
#include <set>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  NL3D

Defines

#define NL3D_MESH_MRM_SKINNED_DEFAULT_POS_SCALE   (8.f/32767.f)
#define NL3D_MESH_MRM_SKINNED_MAX_MATRIX   4
#define NL3D_MESH_MRM_SKINNED_NORMAL_FACTOR   (32767.f)
#define NL3D_MESH_MRM_SKINNED_UV_FACTOR   (8192.f)
#define NL3D_MESH_MRM_SKINNED_VERTEX_FORMAT   (CVertexBuffer::PositionFlag|CVertexBuffer::NormalFlag|CVertexBuffer::TexCoord0Flag|CVertexBuffer::PaletteSkinFlag)
#define NL3D_MESH_MRM_SKINNED_WEIGHT_FACTOR   (255.f)


Define Documentation

#define NL3D_MESH_MRM_SKINNED_DEFAULT_POS_SCALE   (8.f/32767.f)
 

Definition at line 72 of file mesh_mrm_skinned.h.

Referenced by NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::build().

#define NL3D_MESH_MRM_SKINNED_MAX_MATRIX   4
 

Definition at line 73 of file mesh_mrm_skinned.h.

Referenced by NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::build(), NL3D::CMeshMRMSkinnedGeom::build(), NL3D::CMeshMRMSkinnedGeom::getSkinWeights(), and NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::serial().

#define NL3D_MESH_MRM_SKINNED_NORMAL_FACTOR   (32767.f)
 

Definition at line 71 of file mesh_mrm_skinned.h.

Referenced by NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::getNormal(), and NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::setNormal().

#define NL3D_MESH_MRM_SKINNED_UV_FACTOR   (8192.f)
 

Definition at line 70 of file mesh_mrm_skinned.h.

Referenced by NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::getU(), NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::getV(), and NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::setUV().

#define NL3D_MESH_MRM_SKINNED_VERTEX_FORMAT   (CVertexBuffer::PositionFlag|CVertexBuffer::NormalFlag|CVertexBuffer::TexCoord0Flag|CVertexBuffer::PaletteSkinFlag)
 

Definition at line 74 of file mesh_mrm_skinned.h.

Referenced by NL3D::CMeshMRMSkinned::isCompatible().

#define NL3D_MESH_MRM_SKINNED_WEIGHT_FACTOR   (255.f)
 

Definition at line 69 of file mesh_mrm_skinned.h.

Referenced by NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::getWeight(), and NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::setWeight().


Generated on Tue Mar 16 06:42:59 2004 for NeL by doxygen 1.3.6