I find this doesn’t seem right. My camera won’t be able to rotate parallel to the surface of the “earth”.So how to display the model with latitude and longitude data in the correct position on the ground ?
Hi Popov.Hope I can describe it clearly.My coordinates are very close. After transformation, they are all the same value. https://www.babylonjs-playground.com/#LIRF98
I’m going to draw a line on the plane like this.But what i got was high precision latitude and longitude.
They are not the same, they differ at some decimals. But you need to zoom a lot if you want to see something. In this PG I tried to use real values, meaning 6371 for the earth radius and scaling everything to this same level:
Yes, I guess if my earth is big enough, those points can look like on a plane .Then I can create a new ground on the intersection of sphere and Y axis . parallel to the X axis and Z axis .Set the arc rotate camera’s target point on the ground . Now I have a problem, how to make a point of the sphere rotate to the Y axis? like this: