Page 1 of 1

Little bug in CImageLoaderTGA

Posted: Sat Aug 14, 2004 11:56 am
by jox
Irrlicht 0.6:

The CImageLoaderTGA class ignores the horizontal flip and vertical flip bits of the descriptor byte in the header.

descriptor: 00vhaaaa
h horizontal flip
v vertical flip
a alpha bits (also ignored)

This results in some images get loaded flipped. Affected are for example the TGA images created by Pulsar LM Tools by Lord Trancos. A workaround is to load and resave them in a graphics tool (e.g. photoshop).

Posted: Sat Aug 14, 2004 11:56 am
by bal
JPG's get flipped too sometimes. I had this with a skybox.

Posted: Thu Aug 19, 2004 6:16 am
by timmy
yeah i get this too sometimes with JPG skybox's