Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
PMDConvert.cpp File Reference
#include "precompiled.h"
#include "PMDConvert.h"
#include "CommonConvert.h"
#include "FCollada.h"
#include "FCDocument/FCDAsset.h"
#include "FCDocument/FCDocument.h"
#include "FCDocument/FCDocumentTools.h"
#include "FCDocument/FCDController.h"
#include "FCDocument/FCDControllerInstance.h"
#include "FCDocument/FCDGeometry.h"
#include "FCDocument/FCDGeometryMesh.h"
#include "FCDocument/FCDGeometryPolygons.h"
#include "FCDocument/FCDGeometryPolygonsInput.h"
#include "FCDocument/FCDGeometryPolygonsTools.h"
#include "FCDocument/FCDGeometrySource.h"
#include "FCDocument/FCDSceneNode.h"
#include "FCDocument/FCDSkinController.h"
#include "StdSkeletons.h"
#include "Decompose.h"
#include "Maths.h"
#include "GeomReindex.h"
#include <cassert>
#include <vector>
#include <algorithm>
Include dependency graph for PMDConvert.cpp:

Classes

struct  VertexBlend
 
struct  PropPoint
 
class  PMDConvert
 

Functions

static FMVector3 FMVector3_Normalize (const FMVector3 &vec)
 
static void AddStaticPropPoints (std::vector< PropPoint > &propPoints, const FMMatrix44 &upAxisTransform, FCDSceneNode *node)
 
void ColladaToPMD (const char *input, OutputCB &output, std::string &xmlErrors)
 

Variables

const size_t maxInfluences = 4
 
VertexBlend defaultInfluences = { { 0xFF, 0xFF, 0xFF, 0xFF }, { 0, 0, 0, 0 } }
 

Function Documentation

◆ AddStaticPropPoints()

static void AddStaticPropPoints ( std::vector< PropPoint > &  propPoints,
const FMMatrix44 &  upAxisTransform,
FCDSceneNode *  node 
)
static

◆ ColladaToPMD()

void ColladaToPMD ( const char *  input,
OutputCB output,
std::string &  xmlErrors 
)

◆ FMVector3_Normalize()

static FMVector3 FMVector3_Normalize ( const FMVector3 &  vec)
static

Variable Documentation

◆ defaultInfluences

VertexBlend defaultInfluences = { { 0xFF, 0xFF, 0xFF, 0xFF }, { 0, 0, 0, 0 } }

◆ maxInfluences

const size_t maxInfluences = 4