Results 1 to 8 of 8

Thread: bmp load

  1. #1
    Guest

    bmp load

    hi all

    can someone please give me the code to load a bmp in opengl enviornment. i urgently and earnestly need it. and load all sorts of bmps.
    desperately waiting!!!!!!

  2. #2
    Junior Member Newbie
    Join Date
    Jan 2001
    Location
    Finland
    Posts
    10

    Re: bmp load

    What language are you using?

  3. #3
    Senior Member Regular Contributor
    Join Date
    Jul 2000
    Location
    Arlon, Belgium
    Posts
    477

    Re: bmp load

    Hi,
    http://nehe.gamedev.net/opengl.asp

    Choose Lesson 6.

    It's for OpenGL.

  4. #4
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Nov 2010
    Posts
    2,466

    Re: bmp load

    dont use the glaux library www.openil.org library handles bmp's as well as jpg,tga,png etc

  5. #5
    Guest

    Re: bmp load

    i'll be using OpenGL API in VC++ interface. i've looked for the chapter 6 of nehe, but it fails to load a few windows bmp. i dont exactly know why!!!
    i am still stuck, heeeeelp!!!
    thanks

  6. #6
    Senior Member Regular Contributor
    Join Date
    Jul 2000
    Location
    Nice, France
    Posts
    201

    Re: bmp load

    I have some code, but it's only for 24bpp bitmaps. It also shows how to load BMP into texture objects.
    Tell me if you want it anyway.

  7. #7
    Senior Member OpenGL Pro
    Join Date
    Dec 2007
    Posts
    1,077

    Re: bmp load

    I've got code for 1/4/16/24bpp bmp's, not using any aux function, but works. Drop me a line...

  8. #8
    Guest

    Re: bmp load

    can i use your method to load bitmaps (not only 24bpp) from resources too ?

Similar Threads

  1. How to load a map
    By pnpvivek in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-18-2008, 02:58 AM
  2. Replies: 1
    Last Post: 09-30-2007, 05:58 PM
  3. could not load dll
    By in forum OpenGL: User Software
    Replies: 3
    Last Post: 02-29-2004, 09:22 AM
  4. why can't load big 3ds
    By titandd in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-12-2002, 03:19 AM
  5. How do I load a TGA?
    By Amp in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 09-18-2000, 11:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean