You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there's no easy way to interpolate smoothly between two free-form camera positions. Existing examples interpolate lng/lat/latitude separately (which will have issues on bigger distances due non-linear latitude to y relation) and/or use lookAt method to sidestep interpolating rotation, which is not an applicable strategy in many cases.
In an example I played with for smooth animation along path, I had to interpolate manually using glMatrix spherical quaternion interpolation:
Currently there's no easy way to interpolate smoothly between two free-form camera positions. Existing examples interpolate lng/lat/latitude separately (which will have issues on bigger distances due non-linear latitude to y relation) and/or use
lookAt
method to sidestep interpolating rotation, which is not an applicable strategy in many cases.In an example I played with for smooth animation along path, I had to interpolate manually using
glMatrix
spherical quaternion interpolation:We should have an easy API for this, e.g.:
The text was updated successfully, but these errors were encountered: