-
How to generate a Texture with a jpg resource?
I want to generate a Texture with a jpg resource(Not a jpg file),but www.ijg.org only
provide a jpg file example.How to read a jpg resourece?
-
Re: How to generate a Texture with a jpg resource?
There are several open source projects at www.sourceforge.com that will read JPEG (and other formats) and convert them to OpenGL texture maps.
My BMGLib project uses the IJG code to read JPEGS. It will export the data in a format that can be used by OpenGL. You can download the project from my web site ( members.home.net/scottheiman/ )
Regerds,
Scott
-
Re: How to generate a Texture with a jpg resource?
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