SceneViewer gets Rotation of some GLB Files wrong compared to Khronos glTF Sample Viewer #1067
Closed
4 of 11 tasks
Labels
flag: not model-viewer
Problems that are related to our project but are ultimately some other project's issue
type: bug
Something isn't working
Description
In our company we are using Scene Viewer to enable AR for our 3D web viewer.
We noticed that some models have the wrong orientation in AR as well as in the Scene Viewer Preview but not in other gltf viewers like https://github.khronos.org/glTF-Sample-Viewer/
I analyzed the gltf-Files to see if I notice any difference that causes the issue but I couldn't find any.
It only happens to some of our generated gltfs and I have no idea why.
I think it has something to do with the transformation matrices in the gltfs. They are the same (rotation-wise) in the two examples I provide below but lead to different results somehow.
Here is how one example is oriented in SceneViewer in Front View:

Here is the same glb in Khronos gltf Sample Viewer in Front View:

Here are two example .glb files. In pipe-valve.glb the issue occurs and in chair.glb the issue does not occur:
example-glbs.zip
Browser Affected
OS
The text was updated successfully, but these errors were encountered: