Is there a C++ library that enables reading of .tga and .blp image formats on Windows?
Tell me more
×
Game Development Stack Exchange is a question and answer site for
professional and independent game developers. It's 100% free, no registration required.
|
For BLPs, you may check this source code example. For TGAs, honestly I would just convert them to eg. PNGs offline, and then use plain GDI+ to load the PNGs. Is there a specific reason for using TGA? Anyway, you can use this full, annotated source code. |
|||||||||
|
|
I recommend using SOIL. I found it to be by far the easiest way of loading and saving texture to and from OpenGL. The last update was in 2008, though. It still works fine, but some people like to steer away from "old" software. |
|||
|
|