PDA

View Full Version : Textures



YartZ
07-13-2001, 11:51 AM
I'm making somekind of game-engine.

The problem is: I have many textres in a directory and I have made a simple "mapping" sytem where quads and objects etc. are defined in the simple textfile. Textures too.

So, if there is a line "TEXTURE crate2.bmp" in a file. My code should load a texture crate2.bmp and use it. How should I do this? I know how to handle files etc, but this is a problem for me.

Hope you understood something http://www.opengl.org/discussion_boards/ubb/smile.gif

YartZ
07-13-2001, 03:11 PM
Nah, got it work.