Little bug in CImageLoaderTGA

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
jox
Bug Slayer
Posts: 726
Joined: Thu Apr 22, 2004 6:55 pm
Location: Germany

Little bug in CImageLoaderTGA

Post 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).
bal
Posts: 829
Joined: Fri Jun 18, 2004 5:19 pm
Location: Geluwe, Belgium

Post by bal »

JPG's get flipped too sometimes. I had this with a skybox.
General Tools List
General FAQ
System: AMD Barton 2600+, 512MB, 9600XT 256MB, WinXP + FC3
timmy
Posts: 34
Joined: Wed Jul 14, 2004 2:48 am

Post by timmy »

yeah i get this too sometimes with JPG skybox's
Post Reply