- June 2, 2013 at 10:43 am #31293
If I turn off flipping by unchecking the ‘Vertical Flip’ tick box in the GUI, my PVR does not have flipping, but when using the latest PVRTexToolCL, I am unable to disable flipping.
Previously, this was achieved with “-yflip0”. Can someone please help me understand how to achieve this with the new CL Tool? I’ve tried with “-flip y” and without “-flip y” but in both cases, flipping occurs.June 5, 2013 at 5:53 am #37366
No one can help with this? I’ll have to go back to using the old version of PVRTexToolCL – shame to see the latest version with bugs like this, as I was really hoping to use the new features.June 5, 2013 at 10:30 am #37367
Can you share the command-line arguments you’re using with us?
PVRTexToolCL in our current release shouldn’t flip by default (if it does, it’s a bug). However, the legacy interface will flip by default.
JoeJune 6, 2013 at 11:51 am #37368
It definitely seems like the CL tool is always flipping.
I’ve reverted to the old CL, so don’t have the command line arguments, but I can tell you how to recreate the issue – follow the instructions here on preparing a PVR file for use with Adobe’s PVR2ATF tool (which only accepts non-flipped PVRs in OpenGL ES 2.0 PVRTC 4BPP (OGL_PVRTC4) format )- you will see that it’s impossible to prepare a suitable PVR with the latest CL tool, due to the PVR being flipped, regardless as to the parameters passed.
However, it’s easy to prepare an acceptable PVR using the latest GUI or the old CL, so it definitely seems like a bug with the latest CL.June 6, 2013 at 3:20 pm #37369
Thanks for the details. I’ll discuss the issue with the lead PVRTexTool engineer.
JoeJune 6, 2013 at 4:02 pm #37370June 7, 2013 at 12:07 am #37371
I got it working! I’m a PVR n00b, so I thought that Adobe’s “OpenGL ES 2.0 PVRTC 4BPP” requirement would translate to the “PVRTC2_4” format, but this was giving misleading pixel and flipping errors in Adobe’s PVR2ATF tool.
Turns out the correct format is “PVRTC1_4” – no need for the legacy flag – these arguments work fine with Adobe’s PVR2ATF:
PVRTexToolCL -f PVRTC1_4 -i spritesheet.png -o spritesheet.pvr