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

@ -42,6 +42,9 @@ protected:
const struct aiMesh* mMeshData;
bool mIsSkinMesh;
static bool fixedSizeEnabled; ///< Set to true to fix the detail size to a particular value for all geometry
static S32 fixedSize; ///< The fixed detail size value for all geometry
public:
AssimpAppMesh(const struct aiMesh* mesh, AssimpAppNode* node);
@ -54,8 +57,8 @@ public:
static void fixDetailSize(bool fixed, S32 size=2)
{
//fixedSizeEnabled = fixed;
//fixedSize = size;
fixedSizeEnabled = fixed;
fixedSize = size;
}
/// Get the name of this mesh