Jump to content
  • Advertisement
Sign in to follow this  
TheKrust

Tripple Buffering...

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

Does anyone know what Triple Buffering really is and how to implent it in directX? Whenever I search for it, it just tells me ways to uturn it on in real games. I don't think I've ever seen an article about "how to prefrom Triple Buffering" One more thing, I know it eliminates tearing and flickering, but I also heard it can speed up frame rate (which I doubt is true). Can anyone clarify?

Share this post


Link to post
Share on other sites
Advertisement
huh... thanx. It's driving me nuts though, because I know I've seen triple buffering as an option in some games.

Share this post


Link to post
Share on other sites
You can enable triple buffering by increasing the back buffer count in the device you create. One back buffer is double buffered, two back buffers is triple buffered. Be aware this costs you additional video ram (the size of the frame buffer)

Share this post


Link to post
Share on other sites
As I recall reading about it years ago:

Triple buffering is maintaining additional buffers so that you can get ahead in the display generation enough to smooth out occasions when a frame takes a bit longer than normal to create (in a fixed rate rendering cycle). You get ahead when the next frame(2) takes a bit less time to draw and start building the next frame after that one (3) a bit early -- and when it is needed it is likely to be ready even if it took a little longer. Frame (1) is the current frame that is being displayed. The current frame usually then gets delivered ontime (smoothly).

Share this post


Link to post
Share on other sites
well, I just switched the buffer number from 1 to 2... thats... wow.... I mean wow..... so easy... that's not like microsoft at all.

I mean come on, don't I have to crawl through the dessert on my belly or take a chainsaw to my computer a couple times to get it to work... I guess I really do just switch the number.





wow

Share this post


Link to post
Share on other sites
Quote:
Original post by TheKrust
...don't I have to crawl through the dessert on my belly...


Guh, I know! And it's always jello with fruit bits, never something nice like chocolate cake. :(

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!