Open SignpostMarv opened 9 years ago
Perhaps what happens is that the altitude you give for buildings may be correct, but the ground is always at zero.
AFAIK Vizi doesn't currently handle altitude for the ground at all, there's just a plane at 0.
Also, I think you are using master but the 0.2.0 branch is nowadays more advanced. The situation with the ground is the same there too though I think.
Is the plane at 0 considered "sea level"? For blips where I've got altitude data, I've noticed the exif tags saying the reference point is sea level (anything else I hard-code at 100m).
Some of the blips over the water are from the bridge & sunborn yacht presently docked there; if the buildings are to scale then I'm not sure whuts going on with the altitude of the royal victoria dock.
p.s. the map is of the ExCel center in London.
Presently, I'm doing altitude * city.geo.pixelsPerMeter, but this leaves things floating quite a ways higher than they should; https://www.youtube.com/watch?v=7dqPg8RJBuA
Any hints on passing the correct altitude to THREE.Vector3 ?