OGRECave / ogre

scene-oriented, flexible 3D engine (C++, Python, C#, Java)
https://ogrecave.github.io/ogre/
MIT License
3.83k stars 957 forks source link

glTF format incorrect bounds calculation #3130

Closed ikcppdeveloper closed 1 month ago

ikcppdeveloper commented 1 month ago

Hi all, recently I have tried to use ogre-meshviewer as the main tool to preview assets and run into the problem with glTF format it seems that for some reason bounds calculations are incorrect and you actually can't preview assets with more that one node in the glTF scene. Below you can find a system info and glTF a source file which is not displayed correctly, also there are some screenshots from other glTF format viewers.

OS: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy

Version: name: ogre-meshviewer summary: OGRE Mesh Viewer publisher: Pavel Rojtberg (paroj) store-url: https://snapcraft.io/ogre-meshviewer license: unset description: | Viewer for .mesh model files as consumed by OGRE as well as any format supported by assimp like .obj, .ply or .fbx.

features:

glTF Editor: image

ogree-meshviewer (wavefront): image

ogree-meshviewer (glTF): image

source: test.zip

Any suggestions of how to solve this issue?