mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +00:00
Copies Collada import options to Assimp.
The lodType, singleDetailSize, adjustCenter and adjustFloor options been added to the importer. Implementation of $Assimp::FlipNormals has been fixed. $Assimp::FlipWindingOrder has been added to expose aiProcess_FlipWindingOrder. Logging is now enabled and directed to assimp.log.
This commit is contained in:
parent
d8bfe6073f
commit
75440918e5
4 changed files with 128 additions and 30 deletions
|
|
@ -36,6 +36,7 @@ protected:
|
|||
const struct aiScene* mScene;
|
||||
|
||||
virtual bool ignoreNode(const String& name);
|
||||
void detectDetails();
|
||||
|
||||
public:
|
||||
AssimpShapeLoader();
|
||||
|
|
@ -46,6 +47,8 @@ public:
|
|||
void updateMaterialsScript(const Torque::Path &path);
|
||||
void processAnimations();
|
||||
|
||||
void computeBounds(Box3F& bounds);
|
||||
|
||||
static bool canLoadCachedDTS(const Torque::Path& path);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue