I have some 3D models, representing real buildings, that have been georeferenced by having their position from the origin moved by an amount equal to the real world distance from a known reference point. Using the longitude and latitude of that reference point as position for an entity (or a primitive), i should be able to place these models in their real-world position, but when i tried doing that the model always ended up positioned somewhere higher than it should be, surely because the curvature of the earth wasn’t taken into account. Is there any way to make the vertical positioning of a model adapt and start from the earth surface? I tried using different modelMatrix and heightReference values, but it didn’t help, is it even doable in Cesium?
Any kind of help or pointer is appreciated. Thanks!