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

CoordinateystemSetting #155

Open
cyqwertyu opened this issue Nov 12, 2024 · 1 comment
Open

CoordinateystemSetting #155

cyqwertyu opened this issue Nov 12, 2024 · 1 comment

Comments

@cyqwertyu
Copy link

What coordinate system should be used to create the model before converting to 3dtiles? If matrix translation is used, registration cannot be achieved when the model span is long

@javagl
Copy link
Contributor

javagl commented Nov 12, 2024

I assume that you are talking about createTilesetJson (otherwise, it may be necessary to clarify that).

This command will take an input model, usually a glTF model, and just create a matching tileset.json file. It does not ake into account any coordinate transforms or systems. So in order to eventually place the tileset at a certain position on the globe, you'll have to set the tileset.modelMatrix after it was loaded (for example, in CesiumJS).

There is an open issue at #130 with some ideas about how that could be generalized. Feel free to add your ideas there.

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