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:
OTHGMars 2019-04-15 18:57:24 -04:00
parent d8bfe6073f
commit 75440918e5
4 changed files with 128 additions and 30 deletions

View file

@ -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);
};