Comments (2)
Did some more investigating. All of the TGA files used for the GUI and such are compressed with RLE, which Qt5 does not support. However even if I re-encode them uncompressed, they still won't load.
If I instead convert them to PNG they do load, but the colors look all messed up in-game. I suspect that these TGA images use some weird color map that Qt5 can't handle. In support of this theory, converting them to 8-bit RGBA PNG images makes them appear correctly in-game.
from ta3d.
I managed to get the TGA files loaded using SOIL since it natively supports RLE compressed TGA, but now I'm also running into the same issue with all of the PCX files in the mods directory.
I've been trying to replace SOIL with ImageMagick since that can load pretty much everything but I'm having some serious issues. After wasting most of the day on this, I'm wondering: why not just convert everything to PNG? PCX is an ancient format and even TGA is not so popular these days. If you're migrating everything to Qt5, it's probably better just to do the conversion once rather than keep all of these outdated image formats around.
from ta3d.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ta3d.