Jump to content
  • Advertisement

Archived

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

HexDump

Dirty Rectangles using Dx8, is it a good thing?

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

Could anybody pls explain me a good way to code a dirty rectangles engine using dx8?, this thing hurts :/. Thnx in advance.

Share this post


Link to post
Share on other sites
Advertisement
Unless you are doing some 2D projections and you know where the area is that will change, it is hopeless to use dirty rects since you cannot be sure which parts are affected by the polygons that have been transformed.

Kind regards,
Metron

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
DX8 does not like any assumptions on the content of the screen buffer. In fact you need to specify flags to preserve it if you want to. Also, you may have problems with double and triple buffering.

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!