-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Better mouse controls for Columbus View #72
Comments
Obviously, all mouse buttons can be customized and remapped, but how about this strategy for the defaults? It applies to all modes. Left -> Pans the current ground point being looked at. This is extremely reasonable (and pretty common as far as I can tell). Right now both middle and right map to zoom, which doesn't make much sense. |
So, if I'm reading that right, left causes the camera to orbit around the spot on the map being looked at (which I would call "explore" or "orbit" mode, not pan), and Right holds the camera stationary and changes its attitude (Hollywood would call this pan & tilt). Sounds good. If we switch middle & right it might make life easier for STK & Insight3D users who are accustomed to zooming with the right mouse. The wheel would still zoom when spun, but would pan/tilt when pressed. |
None of us are fans of the current use of shift so I'm glad we are revisiting it. Let's try @mramato's suggestion and see how it feels. However, why can't rotate work in 2D? We do that now when holding down the middle mouse button. |
@emackey By Pan I mean the camera remains facing the direction it is facing but the ground point and camera location both move. Similar to rotating around the center of the earth, or what happens if you are looking and a tilted view in Google Earth and you move the mouse button. @pjcozzi You're right, I was only thinking of 3D rotation, but just 2D constrained spinning makes perfect sense. |
Just to elaborate on @emackey comment, We decided that the goal is to make the mouse "feel" the same way in 2D/3D/Columbus and allow for the most common mouse controls without having to manually "switch" modes or use keyboard shortcuts. Here's what we came up with (after comparing against several virtual globes out there) Left button -> Move where you are looking at on the map/globe Middle button/Wheel -> Zoom in and out of where you are looking at. Of course this will be an iterative process, so after trying this out for a couple of weeks, we can revisit the issue and see how we like it. |
The new mouse handling was merged into master with #92. |
Fixed crash when sensor dome material was changed.
Need to re-think the mouse controls in Columbus View so that a user who doesn't know fancy shift-key tricks can still get around and see all sides of the patent-pending Columbus map. There should be a set of controls in CesiumWidget for navigating this view, but ideally just "mousing around" without the keyboard should get you to the coolest and most interesting views.
The text was updated successfully, but these errors were encountered: