Skip to content
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

Fix Z up #402

Merged
merged 2 commits into from
Jul 26, 2023
Merged

Fix Z up #402

merged 2 commits into from
Jul 26, 2023

Conversation

weegeekps
Copy link
Contributor

Resolves #400.

I inadvertently removed the code that handles z+ up when I switched us to use the LocalHorizontalCoordinateSystem in Cesium Native.

This also reverts the affine inverse I also added in #397 that broke the gizmo for the tileset. There's a better solution for that problem that I will be implementing soon.

@weegeekps
Copy link
Contributor Author

@r-veenstra This PR should fix Z+ up for your AEC stuff. Sorry for breaking this.

@weegeekps weegeekps enabled auto-merge July 26, 2023 19:56
Copy link
Contributor

@r-veenstra r-veenstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested both Y up and Z up configurations, including testing against imported spatial data from 3DS max. Confirmed CWT loads in the correct orientation compared to the exported spatial data. Looks good with me!

@weegeekps weegeekps merged commit 1517bcd into main Jul 26, 2023
3 checks passed
@weegeekps weegeekps deleted the fix-z-up branch July 26, 2023 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tilesets are incorrectly oriented with stage default up axis set to Z
2 participants