PDA

View Full Version : Question about textures



PopeKetric
01-08-2003, 12:06 PM
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).]

chxfryer
01-08-2003, 09:38 PM
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

PopeKetric
01-21-2003, 09:52 AM
No. It did not have an SDL version

nexusone
01-21-2003, 11:52 AM
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).]

PopeKetric
01-22-2003, 02:44 PM
Hey, thanks. I will take a look at that.