3D zooming technique to maintain the relative position of an object on screen
- by stark
Is it possible to zoom to a certain point on screen by modifying the field of view and rotating the view of the camera as to keep that point/object in the same place on screen while zooming ? Changing the camera position is not allowed.
I projected the 3D pos of the object on screen and remembered it.
Then on each frame I calculate the direction…