I'm trying to implement exact pinch zooming in a 3D scene on a touch device. The 3D scene is just a flat plane and I have a perspective camera aimed diagonally down at it. As in here, for example:
http://imggle.com/wp-content/uploads/2013/07/google-earth-images-64.jpg
When a user starts a pinch gesture, I project the screen coordinates under his fingers into world coordinates on the plane.
Now how could I solve the camera position so that, no matter where the user moves his fingers, the same world coordinates would remain "in his fingertips" - i.e. projected into specific points in screen space?
Any thoughts are much appreciated.