Archived

This topic is now archived and is closed to further replies.

Xyan

loading textures

Recommended Posts

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

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Yes, and I want make Quake IV with no functions and no objects and, even better, without writing a line of code !!!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Try glpng. You can load and bind a texture with one functioncall.

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

Share this post


Link to post
Share on other sites