-
[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.
-
Member
Regular Contributor
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).]
-
Member
Regular Contributor
Re: [Newbie]: glaux / Bitmaps
The libjpeg is there for you.
10-20 lines and you'll have a jpeg texture loaded.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules