Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: universal (ie - glut) bitmap loader for TextureMapping

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2001
    Posts
    6

    universal (ie - glut) bitmap loader for TextureMapping

    Hi,

    Is there some code (in C), that'll read a 24bit BMP file (which I have Saved-As BMP in Photoshop(win98) from a jpeg) so I can use it as a texture? I need code that'll work on linux and win98 (hence I am already using glut). The code has to be from glut or just pure C, encapsulated,reusable, etc.

    Greatly appreciate any help, cheers.

  2. #2
    Guest

    Re: universal (ie - glut) bitmap loader for TextureMapping

    Some of the GLUT ports of the NeHe lessons has a simple BMP loader. Other formats like TGA is more popular since they support a alpha channel.

  3. #3
    Junior Member Newbie
    Join Date
    Nov 2001
    Posts
    6

    Re: universal (ie - glut) bitmap loader for TextureMapping

    Thanks! I'll check it out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •