Little bug in CImageLoaderTGA
Posted: Sat Aug 14, 2004 11:56 am
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).
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).