Imagination PowerVR SDK Blog

PVRTexTool versus PVRTexLib - mip-map count

pvrtextool

#1

Hi,

Using PVRTexLib, it is possible to specify the number of mip-map levels when compressing a texture to PVR using CPVRTextureHeader::setMipMapCount. However, using the PVRTexTool.exe utility, I have not found the right parameter to be able to specify it. It seems to be either on (-m) or off.

Is there a way to specify it, and if there isn’t, will that be added in the future?

Thanks.




#2

This functionality is not available in the command line version of PVRTexTool at the moment. It wouldn’t be difficult to add so we may consider it for the future.

Note: that OpenGL ES doesn’t allow partial mipmap chains.