I have a question regarding model imports using ASSIMP. I’ve been working on an Entity and Component (e.g. unity gameobject component) based game engine for fun and to learn in my spare time. I’ve decided to tackle frustum culling, because it interests me and seems like a relatively simple optimisation to make. I had the algorithm implemented and noticed a problem, while the culling works as expected, the entire sponza scene i have loaded disappears when looking in certain orientations. This happens because it uses the entity the mesh is attached to’s position, which in all cases is (0,0,0) or something similar.
This means, despite the fact each mesh of the sponza scene is drawn using it’s own model matrix and each entity has the same position (Meaning each mesh should be overlapping surely?) the scene looks entirely normal. Now i know ASSIMP does provide you the transformation for each note (guessing this would be what im looking for) but I can’t figure out why the scene just looks normal, does assimp pre-offset the vertices based on the node transform? if so how can i disable this feature?
Any and all literature / tidbits would be welcome, Apologies for not being a super well defined question.
TLDR; How do node transformations work in Assimp
- Data structure for multiple Textures in materials in assimp
- How do I build Assimp with MinGW?
- I can't figure out how to animate my loaded model with Assimp
- Direct3D & Assimp Texture is inverted weirdly!
- Using assimp to parse animation data
- Set the name of an animation in collada to be used by AssImp
- Assimp scale model, bones and animations
- ASSIMP skeletal animation with some FBX files has issues
- How do node transformations work in ASSIMP?