-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camera roll + free look interaction #17
Comments
Thanks a lot for the drawing, that is very useful. |
BTW It seems in Google Maps WebGL Globe the roll is also not available. |
Indeed, unless they use a modifier that we're not aware of. |
The look towards the sky is not allowed there either - Google's answer to There is also a limit on latitude towards poles dynamically calculated On Thu, Aug 7, 2014 at 10:01 AM, Éric Lemoine [email protected]
Petr Pridal Klokan Technologies GmbH |
Roll of the camera has been disabled in the initial implementation (#16) together with the free look user interaction which is setting the roll on camera internally. The user can't set the roll with the existing interaction on the globe.
Roll explained in illustration from #8:
(Update: the original image is in: http://data.webglearth.com/doc/webgl-earthch3.html#x4-240003.6 and embeded in #16)
The reason is that the alogorithm for synchronization of the 2d and 3d view will get more complicated, if roll is implemented, because roll is influencing also heading (=rotation in ol3) and this must be taken into account in the calculations. It is doable, just not yet done.
To introduce the roll and free look the
olcs.Camera.prototype.updateView
must be improved to ensure the 2D view and 3D view are properly synchronized.The commit for disabling the roll and free look which should be reverted later: klokantech@f2b68b0
available also here: https://gist.github.com/klokan/99a3be6a193a71ac4157
The text was updated successfully, but these errors were encountered: