I am writing a 3D object viewer in managed directx (VB.NET). The viewer only needs refreshing when user input moves the camera view position, so I am not using a loop to refresh the viewer but the MouseMove event handler (which also handles the camera position). The problem with this (I think!) is that far more refreshes are occuring than neccessary, i.e. every time the mouse move event is fired. This leads to occasional flickers when rapid mouse movement is handled.
How do I get around this?
If it looks like crap,
and smells like crap,
and tastes like crap,
It's probably crap.