-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
glb model was rotated 90 degree in current master branch version #6713
Comments
Yes it's expected behavior, however the forward axis conversion is really intended for objects in motion #6632 (comment). There is a gray area for buildings and other things that don't have a concept of a forward axis, which is why we disabled the rotation for 3D Tiles. This case is more similar to the 3D Tiles case, just that its czml + glb instead. |
I attach some of the glb and czml I am using. |
@lilleyse should we close this issue? Can you update the comment in |
@emackey any thoughts here? I'm of the opinion that this is a breaking change regarding Cesium's interpretation of glTF 2.0 model orientation and should be listed as such in CHANGES. However, the change itself is good and I think we just need to close this issue. If we can't come to a consensus, then we might have to back out the orientation changes until we can. |
@mramato It is already listed in under |
This comment from @lilleyse is what I was concerned about:
I don't think we should special case orientation anywhere (3D Tiles doesn't count because the spec allow you to override up axis specifically). |
i was rotated 90 degrees on the y-axis all models . But it seems that everyone needs to turn around all of the models they've built for the previous version, but they need instructions and tools. |
It's unfortunate that is a breaking change for models that aren't necessarily wrong. They just don't have an implicit forward axis (for example, this model has heading and altitude baked in). The breaking changes entry might be like:
The fix feels a bit arbitrary and I hope not too many models need it, but it might be the best we can do. |
CHANGES.md edits are here #6738. @kladess since this problem affects your data, do you think the updated instructions are clear? |
@lilleyse thank you for update documents. It seems to be clearer and easier to understand. |
Developed using glb and czml, a source for master branch is being built and used.
All 3D models were rotated CCW direction in master branch.
using Cesium 1.46.1 version
using 488ca67 version
The text was updated successfully, but these errors were encountered: