PDA

View Full Version : tga files



blessman11
03-03-2011, 04:27 PM
Where can a .tga file loader library be found? I need to use tga because of their 32bit image support. I need the transparency

Ilian Dinev
03-03-2011, 05:12 PM
http://openil.sourceforge.net/

mobeen
03-03-2011, 05:12 PM
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=33

Alfonse Reinheart
03-03-2011, 05:13 PM
The usual image loading libraries (http://www.opengl.org/wiki/Related_toolkits_and_APIs#Image_and_Texture_Librar ies) can handle TGAs.

mhagain
03-03-2011, 06:10 PM
Pretty much any library in other words. In fact if you know that your TGAs are always going to be 32 bit uncompressed you can write your own loader in something like 10 lines of code. Not that I'd recommend you do.