andy259
1
Hi,
I have a 3d-tiles file which b3dm has RTC_CENTER property. But when I loaded the file,the model rotated wrong.Just like the picture.
Why it’s roated and how can i make it correctly.
Thanks.
bertt
2
Hi, it’s rotated because in Cesium everything is put on the globe sphere.
One way to fix it is add a transform, see my blog cesium 3d tiles model placement | bert how to do this.
I’ve tried it with your model, result see https://bertt.github.io/cesium_3dtiles_samples/samples/china .
I’ve removed the RTC_CENTER from the b3dm, the translation is now in the transform.
Another way is to use espg:4978 in the source data, then the transform is not needed (but the glTF looks skewed).
andy259
3
Thank you,the blog is great,it fixed the problem.
I’m still curious about how to use ‘RTC_CENTER’ correctly.
Thanks again.