-
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
3D Tiles - Specify glTF up-axis in tileset.json #5005
Conversation
@pmconne this is for design models. |
Looks OK to me, can you open a PR for the spec? I'm not 100% sure this should be a top-level property (per tile seems like overkill especially since external tilesets could be used), but I wonder if it belongs under |
|
@lilleyse let me know when this is ready. |
@pjcozzi Could you look at the spec PR first - CesiumGS/3d-tiles#182 If that seems ok I'll update here. |
@lilleyse please bump when ready. |
This is ready. |
@@ -159,6 +159,8 @@ define([ | |||
if (picked instanceof Cesium3DTileFeature) { | |||
that._feature = picked; | |||
that._updateStats(true); | |||
} else { | |||
that._feature = undefined; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that features weren't being unselected due to changes in #5081, so this is a fix.
For #3241
For CesiumGS/3d-tiles#175
Merge after #5004
Adds support for a
gltfUpAxis
property intileset.json
that may be"X"
,"Y"
, or"Z"
, and passes the axis toModel
(building upon #4962). By default thegltfUpAxis
is"Y"
since the glTF spec states that models are y-up.