View Full Version : loading .TGA and bitmap
05-06-2003, 10:53 PM
i am loading .TGA file along with bitmap files . teh bitmap files r loaded oK but when .TGA
files r loaded they are in very bad shape that is its look like they have lost too much information
the resolution iis quite bad. can any one help me out
05-06-2003, 11:20 PM
Nope, at least not without looking at the code, most tga files are very easy to load, if it doesn't work there could be two problems, the tga files are incorrect or the code that loads the tga files are incorrect, I would guess on the later.
I think the NeHe tutorials has a tga loader if I remember correct
05-07-2003, 06:25 AM
SpaceTime (http://p-squared.com/SpaceTime.php) supports TGA and BMP formats. Check out the Mesh3DS sub-project, and then LoadTGAfile (I think).
05-07-2003, 07:42 AM
I have experienced bad results with tga files. i think they dont look as good as bitmaps and they are slightly larger if they are uncompressed
05-07-2003, 09:05 AM
I haven't noticed any distortion of tga files when loading them.
05-07-2003, 09:57 AM
I have noticed that tga are much better, as they support 32 bits. http://www.opengl.org/discussion_boards/ubb/wink.gif Just saying.
bmp files comppressed? I have not heard of it.
With that said, you do not want bmp in a game.
I have an image viewer for tga up on my site... It is design to ease the integration of other formats, such as bmp!
05-11-2003, 07:59 AM
Check out Devil/OpenIL.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.