Hi, all!
Is it possible to generate LODs after gltf load?
Hi, all!
Is it possible to generate LODs after gltf load?
yes, but you have to do it programmatically at each lod instead of just storing them in the mesh file:
https://ogrecave.github.io/ogre/api/lat ... shlod-prog
That is perfectly fine for me. Thanks!
Can I cache generated LODs for Ogre to use them automatically (including animations)?
I.e. I have a character as .glb file with animations. I want to have LODs for all submeshes
and for animations to work and lods properly auto-swtched. Possible?
yes, store the LODded mesh as .mesh and load that instead of the glb
But can I go about this without storing anything on disk?
that should be the default behavior of meshmanager. Once you loaded the glb, it is not read again unless you unload it manually - that includes any modifications you do like adding LOD levels
But can I create LOD-enabled mesh in memory from that loaded glb and use it without saving to disk?
you can load the glb (at which point it gets converted to the .mesh format), then generate the LODs and then use it as usual. Unless you unload the glb, the LODs will stay. Or am I missing something related to your usecase?
No, it looks good for my use case, thanks!