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: How to generate a Texture with a jpg resource?

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2001
    Location
    china
    Posts
    6

    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?

  2. #2
    Intern Newbie
    Join Date
    Oct 2001
    Posts
    38

    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
    Regards,
    Scott

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2001
    Location
    china
    Posts
    6

    Re: How to generate a Texture with a jpg resource?

    Thank you very much!!!

Posting Permissions

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