- March 19, 2013 at 12:08 pm #31194
When I try to convert a tga to a pvrtc_4 in apple shell with PVRTexTool I get the invalid input value error.
In the documentation i saw that tga was supported, what could I be doing wrong? the shel script is as follows
(i == filename)
PVRTexToolCL -i $i -f PVRTC1_4March 20, 2013 at 12:52 pm #36898
Currently TGA isn’t supported in PVRTexToolCL I’m afraid, however it’s a fairly straightforward format so I have plans to add it shortly. I don’t remember it being mentioned in the documentation however, I’ll have a look into this and make sure that it’s correct for future releases.
Just for clarification, it was present in an older version of PVRTexToolCL, as we previously relied on the FOX libraries to handle image loading for us. When we moved to Qt we had to implement our own image loading library so that the command line could remain lightweight, and TGA didn’t get added here yet unfortunately.
TobiasMarch 20, 2013 at 12:58 pm #36899
As a follow up, I am now converting a 4096*4096 png to pvr RGBA-4bbp using PVRTexToolCL and it takes about 60 seconds. Is this truely the fastest possible speed or hasnt this been optomized yet. I’m looking to speed up because the game im trying to port will have quite a bit of larger textures and the total converting time would add up.April 2, 2013 at 4:47 pm #36900
We’re constantly working on optimising the compressor – but we also have to balance quality improvements with speed. Currently it’s not going to get any faster than the 60 second mark, but we are definitely working on it. I’m afraid that for now I can’t offer any solutions to get it running faster.