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

How to change Bounding volume from box to region? #735

Open
hechouzi opened this issue Feb 23, 2023 · 1 comment
Open

How to change Bounding volume from box to region? #735

hechouzi opened this issue Feb 23, 2023 · 1 comment

Comments

@hechouzi
Copy link

I have a problem when changing Bounding volume from box to region.I use Cesium.Cartographic.fromCartesian() to convert cartesian coordinates to radians,but the result is wrong.The center of box volume is [ -4.65661287307739e-10, 0.000116813229396939, -0.000936155673116446],and the result is [height: -6357078.545744079,latitude: -1.4474808437139701,longitude: 1.5708003131694683],
the transformed Bounding volumeis shifted a lot!

@javagl
Copy link
Contributor

javagl commented Mar 13, 2023

Sorry for the delay here.

This repository is hosting the 3D Tiles specification. If you have general questions about CesiumJS, then the forum at https://community.cesium.com/c/cesiumjs/5 may be a better place to ask.

Iff you ask the question there, then it is usually appreciated to include a few lines of example code of what you have tried, preferably as a Sandcastle that can directly be opened. (In this case, a Sandcastle that creates the bounding box, and shows how you try to compute a bounding region from that).

(You can also add these details here, but usually, issues here should be about the 3D Tiles specification, and not about CesiumJS)

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

No branches or pull requests

2 participants