-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cesium3DTileset modelMatrix reset error #12002
Comments
(Edit: This was also posted in the forum at https://community.cesium.com/t/cesium3d-tileset-model-matrix-reset-error/32477 )
So to summarize: Changing the transform (by setting the There could be some ... "pragmatic" ... fixes for this, involving some |
This could be a one-line fix in the So this: if (
!Matrix4.equalsEpsilon(transform, initialTransform, CesiumMath.EPSILON8)
) {
return createBoxFromTransformedRegion( could become this: if (
!Matrix4.equalsEpsilon(transform, initialTransform, CesiumMath.EPSILON8) ||
result instanceof TileOrientedBoundingBox
) {
return createBoxFromTransformedRegion( |
What happened?
I applied the transformation matrix to Cesium3DTileset and reapplied the initial value, but an error occurred.
Reproduction steps
I applied the above process to Sandcastle. If you wait a while after running, an error will occur.
Sandcastle example
https://sandcastle.cesium.com/#c=tVTfb9MwEP5XrIiHFAUnA/aydRWom8TDEGgrPEVibnJNDY5d2ZeWber/zsV2tmzrHnmomvPd9333y66Mdsi2EnZg2RnTsGNzcLJr+U9/lpZJ5e250SikBlsmGbsvNWNuLWqzcycMbQdZqfeT01KXWgEylAocINlob0N0PCINsRMSB5Xw9+F8Edx8ZU37w6q0hzBWJpzn16LdKDgXKPIn0XnEPHzkUYP/dkaXSU/Rp8RiedxVoIFvrGwlyi04Luo6jZgDgY0yS+A1bHC9AIefGyrf4QKspQ+qoy97jLozpl2YmHmkzYI1ausXELXUzXeJ1fpK6AYigLGCF9nw/a7gxw/GUNbSdLrHXm/WYIFbIuoce8ve8yKEToaS96wSxM9SStbYSZhARaM2CrgyTXpz0TuYMj6ZQeGEvbn3iP2NZ+nHOYhLTU0Tyrf6kmBQ9+272ILGS+mQGmbTVacrlEanI0VklTIafrUCrfxLbYt9+Ortj9x7hynw1tSggisbdy1Gp5Mwp0gsLJrGis1aVo/E89GpX6f+gFxCPx3N83bSzJG2+2Fpgobr7EpU8JTes33w5FfUQKFdpB5nRH3WjcSuhuyQU+DYV4QRjpXNahXuy38VPipeCKMl3j7M6IPqrltSSIVROuQZ6WK7Xq79Iz6dPBd8bTX6MhePyaSjxAL8wNYQS6DzAf0vz1lY9jlF+XcLcCFbMB2mtKhns7Crr7GNt9dz7jN2XBSFvyCT0yRLpg5vFcyG2/pJthtjkXX0itHrhUCvl6Da82VX/SH6yrmQPWPTfAyd1nLLZH124MWlLIRz5Fl1Sl3LOyiT2TSn+BfQeKO/bcEqcduHrY9ml+GQcz7NyTyMRGPUUthnzP8A
Environment
Browser: Chrome
CesiumJS Version: 1.117
Operating System: window10
The text was updated successfully, but these errors were encountered: