Jump to content
  • Advertisement
Sign in to follow this  
HellzGod

Flicker in wpf while rotating camera with mouse

This topic is 3675 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I just started with wpf. I'm trying to rotate the camera around a 3d object using mouse. On MouseMove, I calculate the angle and axis of rotation and rotate the camera by those parameters. While this works fine, I'm getting an ugly flicker. I'm not using Storyboard. Can I get rid of the flicker without using storyboard? Is there any way I can enable double buffering? I have a grid within a window and I rotate the camera while processing grid's mouse move events. I'm not quite clear about the whole concept of a storyboard (yet). Thanks, M

Share this post


Link to post
Share on other sites
Advertisement
I'm not familiar with wpf, but I know that in GDI and DirectDraw flickers are usually fixed with Backbuffers. In order to get rid of any flicker problem, you usually need a Backbuffer. You probably already knew that but just throwing it out there :P

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!