mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34: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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue