loading textures

Started by
1 comment, last by Xyan 22 years, 3 months ago
Hi, I've read about texture mapping and stuff. Now I can bind my texture and give my texture coordinates with no problems. But the problem comes when I want to load my texture from disk. How do I do that with minimal code. I don't want any classes or struct's to load a texture or any pointers to variables about height or file size, just some code to load a simple img file. I just want to know what are the minimal requirements to be able to load a texture and apply it. Just a simple format wiil do. I'd really appriciate any responces. Thanks in advance. Edited by - Xyan on January 13, 2002 3:23:42 PM
Advertisement
Yes, and I want make Quake IV with no functions and no objects and, even better, without writing a line of code !!!
Try glpng. You can load and bind a texture with one functioncall.

http://www.wyatt100.freeserve.co.uk/download.htm

This topic is closed to new replies.

Advertisement