I'm trying to import animated models from Mixamo, but their unit scale is centimeter while in my application I use meter.
In Assimp-4.1.0 it is possible to perform scaling when importing a model with
aiProcess_GlobalScale flag. (https://github.com/assimp/assimp/issues/1514)
However, it does nothing the way I use it :
uint flags = aiProcess_Triangulate | aiProcess_GenSmoothNormals | aiProcess_GlobalScale; Assimp::Importer importer; importer.SetPropertyFloat(AI_CONFIG_GLOBAL_SCALE_FACTOR_KEY, 0.01f); m_scene = importer.ReadFile(Filename.c_str(), flags);
After some debugging, it turns out that
aiProcess_GlobalScale is not compatible with itself ! i.e.
Am I the only one experiencing this issue ? What is the mistake ?