My Project
|
face group is similar to render pass in ParaXModel, or sub mesh in StaticMesh. More...
#include <SortedFaceGroups.h>
Public Member Functions | |
void | UpdateCenterPos () |
update the center position based on the vertices in the groups. More... | |
Public Attributes | |
bool | m_alphaBlending |
bool | m_alphaTesting |
bool | m_disableZWrite |
bool | m_bHasLighting |
bool | m_bAdditive |
bool | m_bSkinningAni |
TextureEntity * | m_pTexture |
ParaMaterial | m_material |
int | m_order |
Vector3 | m_vCenterPos |
int | m_nNumTriangles |
vector< Vector3 > | m_vertices |
vector< Vector3 > | m_normals |
vector< Vector2 > | m_UVs |
vector< uint32 > | m_vertexWeights |
vector< uint32 > | m_boneIndices |
float | m_stripLength |
face group is similar to render pass in ParaXModel, or sub mesh in StaticMesh.
it contains static data. both ParaXModel and StaticMesh stores face group (for sorting) in this format. Each face group contains one or several triangle strips, one center of mass(the average position of all vertex points in object space), one texture, a set of rendering parameters(such as z-write, z-test, blending, etc)
void ParaEngine::CFaceGroup::UpdateCenterPos | ( | ) |
update the center position based on the vertices in the groups.