Menu

Bitmap loading

2002-05-19
2012-09-26
  • Nobody/Anonymous

    Could somebody post some code that turns a bitmap into an opengl texture? I dont care if it uses the win api or stdio or whatever. thanks

     
    • Anonymous

      Anonymous - 2002-05-22

      maybe DevIL library can help you.
      you can find this at http://openil.sourceforge.net/ or http://www.imagelib.org/
      this library loads bitmaps in many formats and (... text from documentation ... ) "The ilutGLTexImage function binds an image to an OpenGL texture".

      you can download source code.

         furas

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.