Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

ViPeR007

flickering problem...

This topic is 6833 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

well, if you are using directdraw or opengl and you are not in windowed mode, you need to do a page flip in between each animation frame. if you are in windowed mode, you need to put a delay between each frame. most animation flickerings are caused by writing to the buffer faster than the graphics card can read from it, thus causing a "tearing" effect.

-Delta Rho

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Depending on what you are using to code with, you could use a double buffer method of displaying your graphics. In this method you just create a temporary buffer to hold your screen in, then after the current screen in the video buffer has been shown just wait for the vertical retrace on the monitor and then copy the double buffer to the video buffer. This should get rid of your flickering problem.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I also think yo should use a double buffer yet first try it with out a wait for v sync, see how it looks, if you still see a slight tearing then stick it in.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
what is flickering?

Share this post


Link to post
Share on other sites
Does anyone know what would cause like a flickering in animation (like it doesn't transfer from one frame to another, you can see it go off and then on again instead of just doing it smoothly)?

Thanx,
ViPeR

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!