ikework:
I think you have misunderstood the question.
I already have the camera rotation (commonly known as orbit) , I already have zoom and move forward.
I also have the move along up vector and right vector (commonly known as pan) , however the panning is not intuitive enough. The panning is performed by clicking a mouse button , then dragging the mouse then releasing.
When first clicked, the user essentially grabs a point in 3d scene, by dragging the mouse the user moves the camera along up and right vectors in such a way that the grabbed point stays under the cursor at all times. The latter is what I find difficult to achieve.
Main Topics
Browse All Topics





by: ikeworkPosted on 2009-06-09 at 07:18:45ID: 24581397
hey SunnyDark,
Do you mean, the camera needs to be rotated, so that the point you clicked will be in the center of the screen?
if not, can you explain this part:
If i click some point in the 3D scene .. I would like the point I picked to end up directly in the new location of the mouse
Some drawings might be helpful here, doesn't need to be perfect ;)
ike