ColladaUtils

Engine/source/ts/collada/colladaUtils.h

More...

Classes:

Public Functions

applyConditioners(domCOLLADA * root)

Apply the set of model conditioners.

collapsePath(std::string & path)
exportColladaCollisionTriangles(TiXmlElement * meshNode, const ExportData & exportData, const U32 collisionIdx)
exportColladaHeader(TiXmlElement * rootNode)
exportColladaMaterials(TiXmlElement * rootNode, const ExportData & exportData, const Torque::Path & colladaFile)
exportColladaMaterials(TiXmlElement * rootNode, const OptimizedPolyList & mesh, Vector< String > & matNames, const Torque::Path & colladaFile)
exportColladaMesh(TiXmlElement * rootNode, const ExportData & exportData, const String & meshName)
exportColladaMesh(TiXmlElement * rootNode, const OptimizedPolyList & mesh, const String & meshName, const Vector< String > & matNames)
exportColladaScene(TiXmlElement * rootNode, const ExportData & exportData, const String & meshName)
exportColladaScene(TiXmlElement * rootNode, const String & meshName, const Vector< String > & matNames)
exportColladaTriangles(TiXmlElement * meshNode, const ExportData & exportData, const U32 detailLevel, const String & meshName)
exportColladaTriangles(TiXmlElement * meshNode, const OptimizedPolyList & mesh, const String & meshName, const Vector< String > & matNames)
exportToCollada(const Torque::Path & colladaFile, const ExportData & exportData)
const domProfile_COMMON *
findEffectCommonProfile(const domEffect * effect)

Find the COMMON profile element in an effect.

const domCommon_color_or_texture_type_complexType *
findEffectDiffuse(const domEffect * effect)

Find the element in the COMMON profile of an effect.

const domCommon_color_or_texture_type_complexType *
findEffectSpecular(const domEffect * effect)

Find the element in the COMMON profile of an effect.

getSamplerImagePath(const domEffect * effect, const domFx_sampler2D_common_complexType * sampler2D)
const domFx_sampler2D_common_complexType *
getTextureSampler(const domEffect * effect, const domCommon_color_or_texture_type_complexType * texture)
resolveImagePath(const domImage * image)

Detailed Description

Public Functions

applyConditioners(domCOLLADA * root)

Apply the set of model conditioners.

collapsePath(std::string & path)

convertTransform(MatrixF & m)

exportColladaCollisionTriangles(TiXmlElement * meshNode, const ExportData & exportData, const U32 collisionIdx)

exportColladaHeader(TiXmlElement * rootNode)

exportColladaMaterials(TiXmlElement * rootNode, const ExportData & exportData, const Torque::Path & colladaFile)

exportColladaMaterials(TiXmlElement * rootNode, const OptimizedPolyList & mesh, Vector< String > & matNames, const Torque::Path & colladaFile)

exportColladaMesh(TiXmlElement * rootNode, const ExportData & exportData, const String & meshName)

exportColladaMesh(TiXmlElement * rootNode, const OptimizedPolyList & mesh, const String & meshName, const Vector< String > & matNames)

exportColladaScene(TiXmlElement * rootNode, const ExportData & exportData, const String & meshName)

exportColladaScene(TiXmlElement * rootNode, const String & meshName, const Vector< String > & matNames)

exportColladaTriangles(TiXmlElement * meshNode, const ExportData & exportData, const U32 detailLevel, const String & meshName)

exportColladaTriangles(TiXmlElement * meshNode, const OptimizedPolyList & mesh, const String & meshName, const Vector< String > & matNames)

exportToCollada(const Torque::Path & colladaFile, const ExportData & exportData)

exportToCollada(const Torque::Path & colladaFile, const OptimizedPolyList & mesh, const String & meshName)

findEffectCommonProfile(const domEffect * effect)

Find the COMMON profile element in an effect.

findEffectDiffuse(const domEffect * effect)

Find the element in the COMMON profile of an effect.

findEffectSpecular(const domEffect * effect)

Find the element in the COMMON profile of an effect.

findTexture(const Torque::Path & diffuseMap)

getOptions()

getSamplerImagePath(const domEffect * effect, const domFx_sampler2D_common_complexType * sampler2D)

getTextureSampler(const domEffect * effect, const domCommon_color_or_texture_type_complexType * texture)

resolveImagePath(const domImage * image)