Camera Changing Position Events

Anonymous 9 years ago 0
This discussion was imported from CodePlex

pupunussi wrote at 2012-09-13 15:57:


Is there a way to get an event fired every time the viewport starts and ends changing the position of the camera? GotMouseCapture and LostMouseCapture events of CameraController kinda work but not for zooming with mouse wheel.

I have a surface displayed with a high level of detail. What I am trying to do is to decrease the level of detail whenever the user tries to manipulate the camera in order to sustain high enough FPS to keep the program usable.

So far I build two surface with high and low levels of detail and replace one with another and then back on GotMouseCapture and LostMouseCapture events.

I'm pretty sure it's not the best way to achieve the results I need.

Is there a better way to do it?