- September 23, 2012 at 6:38 pm #30971
SystemMemberI used to use PVRTexTool v. 3.23 from the command line to create textures for iOS OpenGL ES 1.1, like this:PVRTexTool -f OGLPVRTC4 -m -pvrtcbest -yflip 0 -i strokes.png -o strokes.pvrWorked great; way better than Apple’s tool. I’m now trying to do a larger, 4096×4096 texture for iPad. This tells me:“The active PVRTC compressor cannot handle MIP-levels bigger than 2048×2048”Okay, so I read a post on this forum saying that this version can only do 4096×4096 in -pvrtcfast, which works, but looks bad. I download the latest version, 3.40.PVRTexToolCL -f OGLPVRTC4 -m -q pvrtcbest -legacypvr -i strokes~ipad.png -o strokes~ipad.pvrThis tells me:“Deprecation Warning: Used old PVRTexTool interface. This is now deprecated and may be turned off in a future release. Please see PVRTexTool manual for help”Despite this, it still doesn’t write a PVR2 file header, but instead something like a PVR3? OGLPVRTC4 is not listed in the supported formats, either:“-Valid Formats: PVRTC1_2, PVRTC1_4, PVRTC1_2_RGB, PVRTC1_4_RGB, PVRTC2_2, PVRTC2_4, ETC1, UYVY, YUY2, 1BPP, RGBE9995, RGBG8888, GRGB8888, ETC2_RGB, ETC2_RGBA, ETC2_RGB_A1, EAC_R11, EAC_RG11”I then tried changing some of the other formats, like PVRTC1_4 and PVRTC2_4. PVRTC1_4 actually works, with the right file header, but it looks bad. PVRTC2_4 generates the right header, but it is, of course, the wrong texture code. Similar results when trying from the GUI interface.Is there some way I can get the familiar quality out of PVRTexTool while encoding a 4096×4096 texture in PVRTC4 in the old header format? Thanks!September 25, 2012 at 9:31 am #36145
Using version 3.40, you should be able to compress a 4k by 4k texture using -q pvrtcbest, and get decent quality out as long as you have sufficient memory (at least 2GB free, so probably 3GB minimum on the system). Using the command below should produce the output you expect:
PVRTexToolCL -f PVRTC1_4 -m -q pvrtcbest -legacypvr -flip y,flag -i strokes~ipad.png -o strokes~ipad.pvr
Are you seeing issues with this?
For reference the PVRTC2_… types are PVRTC version 2, which is a different format to PVRTC1_… which are the original PVRTC formats.
/* Style Definitions */
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
font-family:”Times New Roman”,”serif”;}September 30, 2012 at 12:42 am #36146
SystemMemberOctober 2, 2012 at 10:36 am #36147
I’m not aware of anything that should cause this issue. Would it be ok for you to share your images with us? If you could send them to DevTech@imgtec.com, I can take a look to see what the issue is. If you could also send it as the original seventeen textures that’d be a big help.