We can definitely do that. I'll put it on the TODO list, we'll report back as soon as it's on the server.
For the moment, you might also want to consider the new aiProcess_OptimizeGraph flag. It doesn't transform all vertices into worldspace but it reduces the scene complexity and optimizes it for better rendering speed and larger meshes (with aiProcess_OptimizeMeshes) while preserving any animation-relevant data.
Alex
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
How about making scene importing/processing a 2 step process?
I'm thinking this because I'd like to change processing behaviour dependent on the loaded scene.
For example: If the loaded scene has no animation, then I'd like to PreTransfromVertices - otherwise, not.
Bye!
Mark
Hm. Might be a nice idea for special case requirements. And should be easily implementable, apart from finding proper names for the new functions :-)
We can definitely do that. I'll put it on the TODO list, we'll report back as soon as it's on the server.
For the moment, you might also want to consider the new aiProcess_OptimizeGraph flag. It doesn't transform all vertices into worldspace but it reduces the scene complexity and optimizes it for better rendering speed and larger meshes (with aiProcess_OptimizeMeshes) while preserving any animation-relevant data.
Alex
Done! Try Importer::ApplyPostProcessing().
Hi,
Thanks!
Bye,
Mark