Some questions about PVR textures

Member
Posts: 249
Joined: 2008.10
Post: #1
Hi dudes!

I'd like to add pvr support to my program, which runs on Windows, iPhone Simulator and, of course, the iPhone.

*I think for the iPhone I should use this example
https://developer.apple.com/iphone/libra...index.html and glCompressedTexImage2D

*Does last method work on the simulator? Or should I use something like next way?

* What should I do to load pvr on windows? I guess I should use a library I found on http://www.imgtec.com (powervr processor designer website) called PVRTexLib in order to decompress the pvr texture and then upload it using opengl (upload it as a bmp) because I guess my ATI 3870 does not have GL_IMG_texture_compression_pvrtc extension Smile

What do you think?
Am I right? I'd like to know your suggestions.

Thanks a lot.
Quote this message in a reply
Sage
Posts: 1,232
Joined: 2002.10
Post: #2
The simulator supports PVRTC now. Look at the extension string.

IMG's lib is probably the easiest path, for Windows.
Quote this message in a reply
Member
Posts: 22
Joined: 2006.04
Post: #3
There is PVRTC decompression code in PowerVR's SDK in the Tools folder. That's probably better than using the PVRTexLib dll. The texture loading code in their tools falls back to decompression when PVRTC isn't supported as well.

Flash!
Quote this message in a reply
Post Reply