Results 1 to 3 of 3

Thread: [Newbie]: glaux / Bitmaps

  1. #1
    Guest

    [Newbie]: glaux / Bitmaps

    I'd like to use bitmap-files (e.g. jpeg) for my textures. Under Win32 I could use the functions of the glaux - library. I could not find this lib on my Linux-system. Can anybody tell me how to use bitmaps with OpenGL? I don't really want to use the Linux-libs for bitmap-file-support as I like to compile the programs on Win32, too.

  2. #2
    Senior Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    417

    Re: [Newbie]: glaux / Bitmaps

    The Independent JPEG Group has portable code for loading and decompressing JPEGs which you can use.

    You may also consider going to an easier to use format for textures such as TGA or BMP, in which case you could write your own portable loader in under 50 lines of code.

    [This message has been edited by rts (edited 05-10-2001).]

  3. #3
    Senior Member Regular Contributor
    Join Date
    Feb 2001
    Location
    Montréal, QC, Canada
    Posts
    304

    Re: [Newbie]: glaux / Bitmaps

    The libjpeg is there for you.
    10-20 lines and you'll have a jpeg texture loaded.

Similar Threads

  1. Glaux.h?
    By Kane635 in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 08-16-2004, 06:01 PM
  2. where can i find glaux.lib and glaux for bcb.
    By in forum OpenGL: User Software
    Replies: 1
    Last Post: 05-20-2003, 08:35 PM
  3. bitmaps and glaux
    By Zork in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 11-04-2002, 04:58 AM
  4. What about glaux?
    By Maniac in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-13-2001, 01:28 AM
  5. glaux.dll
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-01-2000, 11:19 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