ColladaUtils
Engine/source/ts/collada/colladaUtils.h
Classes:
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)
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)
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
const domCommon_color_or_texture_type_complexType *
findEffectSpecular(const domEffect * effect)
Find the
findTexture(const Torque::Path & diffuseMap)
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
findEffectSpecular(const domEffect * effect)
Find the
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)