Jump to content
  • Advertisement

Archived

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

weasalmongler

Help With Blitting

This topic is 6115 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 anybody know a FAST way of blitting a bitmap to the screen. I currently have a program which draws a world in 3D. I then blit a 2D bitmap to the screen as a HUD. Currently I am using the "glDrawPixels()" Function (I think thats what its called, i''m doing it from memory), but when I implement the function the framerate halves from 90 FPS to 45 FPS. Does anyone know a better faster way of blitting? Thanks in advance for any help - Weasalmongler

Share this post


Link to post
Share on other sites
Advertisement
This question is asked far far too often. Setup an orthographic projection matrix and use a textured quad (or a couple of them). You should notice a dramatic speed increase.

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!