MantisBT - Old ParaView Bugs
View Issue Details
0001851Old ParaView Bugs public2005-05-13 13:472005-07-25 14:33
Amy Squillacote 
Berk Geveci 
normalminoralways
assignedopen 
0001851: panning when zoomed in on dataset
This problem was reported by Brad King and is occurring both on the trunk and on the 2.0 branch. If you are zoomed inside the current data set (necessarily using perspective projection) to the point that the center of the data set is behind the camera, then when you are panning, the data set moves in the opposite direction from the mouse motion. This is because we are using the center of the current data set to calculate a depth value for the x-y screen coordinates of the mouse pointer. Previously we were using the focal point of the camera to calculate depth, but this causes panning to be very sensitive (i.e., move a large distance with small mouse movement) when you are zoomed in on the data set.
No tags attached.
Issue History

Notes
(0002721)
Amy Squillacote   
2005-07-25 14:33   
Brad suggested taking the intersection of the bounding box and the view frustum, and use the center of this new volume in calculating the depth of the x-y screen coordinate. There would still be a problem if the current data set was not visible on the screen, but in this case you could use the camera's position as the depth, which would keep you from actually moving.

Another possible solution is to have the user specify/pick a depth value for translation (in perspective projection) similar to setting the center of rotation.

I do not currently have time to implement either solution.