nytimes / three-loader-3dtiles

This is a Three.js loader module for handling OGC 3D Tiles, created by Cesium. It currently supports the two main formats, Batched 3D Model (b3dm) - based on glTF Point cloud.
Other
443 stars 62 forks source link

Missplacement of 3d tiles on map #79

Open undefinedSolutions opened 1 year ago

undefinedSolutions commented 1 year ago

I have noticed a misplacement of my model on the map.

I created the model with Agisoft Metashape and also exported it there as 3D tiles.

Using the export directly as "Cesium 3D Tiles" as well as via Cesium Ion brought the following placement on the map. (only the height was changed to place it above the map)

NY-Times+Ion

However, when used in the Cesium API, the 3d tile is placed correctly. Cesium+Ion

What can I do to place the 3d tiles correctly? (apart from the manual adjustment of all models)

Thank you for your wonderful work!

undefinedSolutions commented 1 year ago

I noticed that the model is placed correctly after changing the scale.

NY-Times+Ion+Scale

But why is that the case?

Is there a way to calculate the scale, and how does cesium handle this?