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 5 of 5

Thread: Question about textures

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2002
    Posts
    9

    Question about textures

    Can anyone point me to a good tutorial for loading multiple textures out of a single file?

    Let me clarify, since I just found such a tutorial at NeHe. I need a 'Linux' tutorial. If anyone knows of such a beast.

    [This message has been edited by PopeKetric (edited 01-08-2003).]

  2. #2
    Intern Contributor
    Join Date
    Feb 2002
    Posts
    82

    Re: Question about textures

    did the nehe site not have a SDL version off the tutorial. I know some of them do, just not sure if that did. SDL allows platform idenpendancy

  3. #3
    Junior Member Newbie
    Join Date
    Dec 2002
    Posts
    9

    Re: Question about textures

    No. It did not have an SDL version

  4. #4
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,096

    Re: Question about textures

    Look at nehe tutor number 15: texture map font's show how to use pick what area of a texture to display. In this demo, all the font charactors are mapped to a single texture. And from that texture he picks a charactor to texture a quad with.

    From that you can build on your own multiple textures on one texture file.

    He has a GLUT version of this Demo which is not platform dependent.

    I have a demo that I have been working on, though it is not complete is does show how I load multiple textures from one file.

    E-mail me and I will send it to you.

    Originally posted by PopeKetric:
    Can anyone point me to a good tutorial for loading multiple textures out of a single file?

    Let me clarify, since I just found such a tutorial at NeHe. I need a 'Linux' tutorial. If anyone knows of such a beast.

    [This message has been edited by PopeKetric (edited 01-08-2003).]


    [This message has been edited by nexusone (edited 01-21-2003).]

  5. #5
    Junior Member Newbie
    Join Date
    Dec 2002
    Posts
    9

    Re: Question about textures

    Hey, thanks. I will take a look at that.

Posting Permissions

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