57 static Model*
read(
const string& pathName,
const string& fileName,
bool useBC7TextureCompression =
true);
142 static void readGeometry(
const string& pathName,
Model* model,
Node* node,
TiXmlElement* xmlRoot,
const string& xmlNodeId,
const map<string, string>& materialSymbols,
bool useBC7TextureCompression);
Color 4 definition class.
Collada DAE model reader.
static Node * readVisualSceneNode(const string &pathName, Model *model, Node *parentNode, TiXmlElement *xmlRoot, TiXmlElement *xmlNode, float fps, bool useBC7TextureCompression)
Read a DAE visual scene node.
static void readGeometry(const string &pathName, Model *model, Node *node, TiXmlElement *xmlRoot, const string &xmlNodeId, const map< string, string > &materialSymbols, bool useBC7TextureCompression)
Reads a geometry.
static Node * readNode(const string &pathName, Model *model, Node *parentNode, TiXmlElement *xmlRoot, TiXmlElement *xmlNode, float fps, bool useBC7TextureCompression)
Reads a DAE visual scene node node.
static const vector< TiXmlElement * > getChildren(TiXmlElement *parent)
Returns immediate children tags.
static constexpr float BLENDER_AMBIENT_FROM_DIFFUSE_SCALE
static Node * readVisualSceneInstanceController(const string &pathName, Model *model, Node *parentNode, TiXmlElement *xmlRoot, TiXmlElement *xmlNode, bool useBC7TextureCompression)
Reads a instance controller.
static constexpr float BLENDER_DIFFUSE_SCALE
static UpVector * getUpVector(TiXmlElement *xmlRoot)
Get Up vector.
static void setupModelImportRotationMatrix(TiXmlElement *xmlRoot, Model *model)
Set up model import rotation matrix.
static const string makeFileNameRelative(const string &fileName)
Make file name relative.
static const string getTextureFileNameById(TiXmlElement *xmlRoot, const string &xmlTextureId)
Get texture file name by id.
static STATIC_DLL_IMPEXT const Color4 BLENDER_AMBIENT_NONE
static void setupModelImportScaleMatrix(TiXmlElement *xmlRoot, Model *model)
Set up model import scale matrix.
static Material * readMaterial(const string &pathName, Model *model, TiXmlElement *xmlRoot, const string &xmlNodeId, bool useBC7TextureCompression)
Reads a material.
static const vector< TiXmlElement * > getChildrenByTagName(TiXmlElement *parent, const char *name)
Returns immediate children tags by tag name.
static Model::AuthoringTool getAuthoringTool(TiXmlElement *xmlRoot)
Get authoring tool.
static Model * read(const string &pathName, const string &fileName, bool useBC7TextureCompression=true)
Reads Collada DAE file.
Representation of a 3D model.
The element is a container class.
#define STATIC_DLL_IMPEXT