Talk:Arc-Ball Camera
I think there are a few problems with this Arc-Ball Camera. That zoom should be public seems obvious, so I changed that already, I also made it into a property so that we don't need to clamp every update. Same for the angles But the other changes I dont want to make without further input (since I'm a new user).
-The code seems to create flickering images when more than one model is shown -Cameras don't need to be updated every frame, only if some of their settings are changed. This could be done by setting a bool to true in the props when something changes and then calling the 'update' method, recreate the matrices and then setting this bool to false again.
For reference I paste a link to my own arcball camera here which solves these issues (but might have other issues)
http://roy-t.nl/index.php/2010/02/21/xna-simple-arcballcamera/ I made this when I couldnt get this sample to work.