Jump to content
  • Advertisement

Archived

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

vincent

OpenGL How Can I do for use openGL to load a bitmap?

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

Advertisement
OpenGL is an plataform independent API, and have no built-in way to load images or textures. You have to write your own function to load a bitmap, but that's not difficult. Take a look at Wotsit, you'll find the Bitmap's file format specification there. It would be easier if you use Win32 functions though.

Nicodemus.

----
"When everything goes well, something will go wrong." - Murphy


Edited by - Nicodemus on June 23, 2000 12:26:23 AM

Share this post


Link to post
Share on other sites
There are more than just one way, the auxilary library (ick), GDI (double ick), write your own. Right now I use the auxilary library. It's actually not that bad for simple bitmaps.

JoeMont001@aol.com

Edited by - Julio on June 24, 2000 4:12:54 PM

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!