Sign in to follow this  

Displaying a Bitmap

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

Hi, I have an OpenGL fullscreen application, using win32 API. I have a bitmap showing the "credits" that I want to display for few seconds on the screen (fullscreen) when the user clicks the relevant button. I'm using VC++ 2008, and the bitmap is a resource. I figured that It's more reasonable to use win32 API for displaying the bitmap (rather than OpenGL itself). Am I right? How to do this without "messing" the already enabled OpenGL (assuming that after showing the bitmap I'll go back to rendering my 3D world with OpenGL)?

Share this post


Link to post
Share on other sites
I thought about doing it as a texture. The thing is that I've never dealt with textures before, and this bitmap thing is the only thing that's delaying my project.

How much time do you think it'll take to lean simple texturing on a quad? I was hoping for a simple few-lines code :)

Share this post


Link to post
Share on other sites
I don't know about OpenGl, but loading textures requires one function call in DirectX and another call to render it. So it shouldn't be very hard to learn.

Share this post


Link to post
Share on other sites

This topic is 2855 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this