cx20 / gltf-test

Testing the glTF Loader and WebGL Library

Home Page:https://cx20.github.io/gltf-test/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GearboxAssy.gltf does not appear in the center of the screen in Cesium.js v1.47

cx20 opened this issue · comments

commented

I tried to display GearboxAssy.gltf with Cesium.js v1.47.
However, it does not seem to be displayed in the center of the screen.

Cesium.js + GearboxAssy.gltf result:
https://cx20.github.io/gltf-test/examples/cesium/index.html?model=GearboxAssy
image
As Cesium.js v1.46 was displayed in the center of the screen, I think that the specification changed probably.
It is necessary to investigate how to display the glTF model in the center like before.

There's been some discussion that the bounding sphere calculation got messed up (possibly by me... oops). I don't have a link to that issue handy but it might be the cause.

This is almost certainly caused by CesiumGS/cesium#6784 and should be fixed in the next release.

commented

@emackey Thank you for clarifying the cause. I would like to confirm the operation again at the next release of Cesium.js.

Yes this was fixed by CesiumGS/cesium#6784

I tested the code on https://cx20.github.io/gltf-test/examples/cesium/index.html?model=GearboxAssy in Cesium's Sandcastle in master and it now zooms to the model correctly.

commented

@lilleyse Thank you for fix and checking.
I will do the test again when Cesium.js v1.48 is released and I think that if it does not matter, I will close this Issue.

commented

I confirmed that this issue was solved with Cesium.js v1.48.
https://cx20.github.io/gltf-test/examples/cesium/index.html?model=GearboxAssy
image