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).]

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

No. It did not have an SDL version

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:
[b]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).][/b]

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

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