.PNG texture loading ?

Started by
1 comment, last by Lord FlatHead 21 years, 2 months ago
Does anyone here know of a tutorial or other good resources on how to load .png files for use as textures in an OpenGL application ? I''m not interested in ready-to-use libraries or toolkits, just some plain C++ code I can tinker with. Thanks in advance.
_________"Maybe this world is another planet''s hell." -- Aldous Huxley
Advertisement
You can write your own loader by using the PNG specifications:
http://www.w3.org/TR/REC-png.html

- Yuval
I was afraid it was going to be a bit tougher than just stealing someone else''s code. But thanks anyway =)
_________"Maybe this world is another planet''s hell." -- Aldous Huxley

This topic is closed to new replies.

Advertisement