Jump to content
  • Advertisement

Archived

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

Xyan

loading textures

This topic is 6006 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!