Skip to main content
gamedev.net
🔒 Locked

Large Bitmaps

Started by Tokage 2 replies 300+ views
Original Post
Tokage
Tokage
The game I am writing currently requires at one point an 800-by-600 bitmap to be displayed on the screen. Right now I''m using glDrawPixels() to display it, but that cuts my frame rate in half. Is there a better way to load or draw this bitmap that might take less time?
knealeaj
knealeaj
Just draw a quad and attach your bitmap as a texture then you can make the picture as large as you want. If you dont know how to do this look on http://nehe.gamedev.net for tuts.
hope this helps
Tokage
Tokage
Thanks, I''ll try that. (Yes I do know how.)
Cibressus
Cibressus
why are you trying to display a bmp that large?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.