|
0 A.D. | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
static void |
ColladaToPMD( const char* input, OutputCB& output, std::string& xmlErrors )
Converts a COLLADA XML document into the PMD mesh format. |
static FCDGeometryPolygons* |
GetPolysFromGeometry( FCDGeometry* geom )
|
static void |
TransformVertices( FloatList& position, FloatList& normal, const FMMatrix44& transform, bool yUp )
Applies world-space transform to vertex data, and flips into other-handed coordinate space. |
static void |
TransformVertices( FloatList& position, FloatList& normal, std::vector< BoneTransform >& bones, std::vector< PropPoint >& propPoints, const FMMatrix44& transform, const FMMatrix44& bindTransform, bool yUp, bool isXSI )
|
static void |
WritePMD( OutputCB& output, const UInt32List& indices, const FloatList& position, const FloatList& normal, const FloatList& texcoord, const std::vector< VertexBlend >& boneWeights, const std::vector< BoneTransform >& boneTransforms, const std::vector< PropPoint >& propPoints )
Writes the model data in the PMD format. |
Method Detail |
public static void ColladaToPMD( const char* input, OutputCB& output, std::string& xmlErrors );
input
- XML document to parse
output
- callback for writing the PMD data; called lots of times
with small strings
xmlErrors
- output - errors reported by the XML parserColladaException
- on failurepublic static FCDGeometryPolygons* GetPolysFromGeometry( FCDGeometry* geom );
public static void TransformVertices( FloatList& position, FloatList& normal, const FMMatrix44& transform, bool yUp );
public static void TransformVertices( FloatList& position, FloatList& normal, std::vector< BoneTransform >& bones, std::vector< PropPoint >& propPoints, const FMMatrix44& transform, const FMMatrix44& bindTransform, bool yUp, bool isXSI );
public static void WritePMD( OutputCB& output, const UInt32List& indices, const FloatList& position, const FloatList& normal, const FloatList& texcoord, const std::vector< VertexBlend >& boneWeights, const std::vector< BoneTransform >& boneTransforms, const std::vector< PropPoint >& propPoints );
|
0 A.D.
Generated on September 04, 2007 at 18:14 CppDoc v2.4.0 |
|||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |