|
bool | IsFileNameRecursiveLoaded (const std::string &filename) |
| check if the given filename belongs to one of its parent's filename
|
|
void | AddAnimation (const ModelAnimation &anim) |
|
int | GetAnimationsCount () |
|
BMaxParser * | GetParent () const |
|
void | SetParent (BMaxParser *val) |
|
void | SetAutoScale (bool value) |
|
bool | IsAutoScale () |
|
const Vector3 & | GetCenterPos () const |
|
void | MergeCoplanerBlockFace () |
|
bool | IsCoplaneNode (BMaxNode *node1, BMaxNode *node2, int nFaceIndex) |
|
void | FindCoplanerFace (BMaxNode *node, uint32 nFaceIndex) |
|
void | FindNeighbourFace (Rectangle *rectangle, uint32 i, uint32 nFaceIndex) |
|
void | CalculateLod (uint32 nMaxTriangleCount) |
|
void | GetLodTable (uint32 faceCount, vector< uint32 > &lodTable) |
|
void | PerformLod () |
|
void | CalculateAABB (vector< BMaxNodePtr > &nodes) |
|
void | CalculateLodNode (map< int64, BMaxNodePtr > &nodeMap, int x, int y, int z) |
|
uint64 | GetNodeIndex (uint16 x, uint16 y, uint16 z) |
|
BMaxNode * | GetBMaxNode (int x, int y, int z) |
|
BMaxNode * | GetNode (uint16 x, uint16 y, uint16 z) |
|
BMaxNode * | GetNodeByIndex (int64 index) |
|
int64 | InsertNode (BMaxNodePtr &nodePtr) |
| return node index
|
|
void | Load (const char *pBuffer, int32 nSize) |
|
void | ParseBlocks (BMaxXMLDocument &doc) |
|
void | ParseBlocks_Internal (const char *value) |
|
void | ParseVisibleBlocks () |
|
void | ParseHead (BMaxXMLDocument &doc) |
|
void | ParseBlockFrames () |
|
void | CreateDefaultAnimations () |
|
void | AutoAddWalkAnimation (int nAnimID, int nStartTime, int nEndTime, float fMoveSpeed=4.f, bool bMoveForward=true) |
|
BMaxFrameNode * | GetFrameNode (int16 x, int16 y, int16 z) |
|
void | CalculateBoneWeights () |
|
void | CalculateBoneWeightFromNeighbours (BMaxNode *node) |
|
void | CalculateBoneSkin (BMaxFrameNode *pBoneNode) |
|
void | CalculateBoneWeightForBlock (BMaxFrameNode *pBoneNode, BMaxNode *node, bool bMustBeSameColor=true) |
|
int | FindRootBoneIndex () |
| find the first root bone index. More...
|
|
void | ParseBlockAnimations (BMaxXMLDocument &doc) |
|
void | ParseBlockAnimationSet (BMaxXMLElement *node) |
|
void | ParseBlockAnimation (BMaxXMLElement *node) |
|
void | ParseBlockAnimationKeys (uint16 x, uint16 y, uint16 z, BMaxXMLElement *node, int nIndex) |
|
void | ParseBlockAnimationKey (BMaxXMLElement *node, Bone *bone, const std::string propertyType) |
|
void | ClearModel () |
|
void | FillParaXModelData (CParaXModel *pMesh) |
|
void | FillVerticesAndIndices () |
|
int | GetBoneIndex (uint16 x, uint16 y, uint16 z) |
|
void | ScaleModels () |
|
float | CalculateScale (float length) |
|
int64 | GetIndexFromXmlElement (BMaxXMLElement *node, const char *name, int &x, int &y, int &z) |
|
bool | ReadValue (BMaxXMLElement *node, const char *name, int32_t &value) |
|
bool | ReadValue (BMaxXMLElement *node, const char *name, float &value) |
|
bool | ReadValue (BMaxXMLElement *node, const char *name, Vector3 &value) |
|
bool | ReadValue (BMaxXMLElement *node, const char *name, std::string &value) |
|
bool | ReadValue (BMaxXMLElement *node, const char *name, Vector4 &value) |
|
int | GetNameAppearanceCount (const std::string &name, bool bAdd=true) |
| how many times that a given name has appeared. More...
|
|
CParaXModel * | CreateGetRefModel (const std::string &sFilename) |
| filename is relative to current world directory. More...
|
|
ModelGeoset * | AddGeoset () |
|
ModelRenderPass * | AddRenderPass () |
|
BMaxAnimGenerator * | GetAnimGenerator () |
|
Block Max file format parser.
For *.bmax