Hi guys,
First question here in the forum - sorry, couldn't find any answer after a bit of Googling. I was trying to play around with your texture compression tool by converting some HDRs (in EXR format) I have around. However, I get the following error:
exr_to_htga: not found
I can't seem to find any mention to an HTGA file format anywhere. Would you mind telling me where can I get that from?
Cheers.
I know that building the command line compressor from source has the option to compile that component (or not) as a flag in the makefile - mainly because the HTGA format, though less widely used, has a less complicated file format than EXR to deal with during compression. I'd have assumed the converter ought to be built into the tool we ship though there might be reasons we don't.
I'll ask the tools team if this was an intentional omission or not.
In the mean time you can get this component by compiling the compressor for yourself.
The ASTC Evaluation Codec comes with the source, including the exr_to_htga code. To compile it you'll need to get OpenEXR, a library used in the conversion.
-Stacy
Hi Stacy,
Cheers for the reply. I wasn't aware that I could download the source and build it myself. I'll give it a try very soon.
Out of curiosity, where can I find any info on HTGA? I'm far from being an expert on file formats , but I can't seem to find anything about it on Google. Is this a specific format or tga has obscure (to me) support for 16-bit channels?
It's not really my area of expertise but I believe the format is pretty much the same as a standard TGA but with half float colour depth.
You might have more luck researching it as "Half Float Targa" which is less ambiguous than the acronym.
Ok thanks for heads up. I've downloaded the code. The Makefile, after some minor tweaking, is now building both astenc and the exr_to_tga commands; and I've managed to convert an exr image to astc. I'll get back to this once I have a bit more of time to fully test image loading in GL.
Cheers,
Joao