Imagination PowerVR SDK Blog

PVRTexTool

pvrtextool

#1

when I use .pvr found in the sdk examples it works well but when I try to export “.png” or “.jpg” to “.pvr” and there to “.cpp” it doesn’t works I mean that the scene will display without any texture

any idea?


#2

Hi Aicha,



I’m unsure what problem you’re hitting. Do you mean you’re converting from PNG or JPG to a compressed format, but our PVRTools code isn’t able to load the resultant PVR file? If so, which format are you compressing to? Have you checked that your target supports that format? have you debugged the issue to see where the texture load is failing?



Regards,

Joe


#3

I encode .jpg to .pvr using pvrTexTool to a format pvrtc 4bpp and it works in my visual studio project

thank you