PVRTEX tool

This topic contains 1 reply, has 2 voices, and was last updated by  Tobias Hector 6 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30564

    manubr
    Member

    hi..

    I have been trying to encode some of my texture tools using pvrtextool. all of them are in png format. some of them got encoded but the others encountered errors saying ” The current texture has incompatible dimensions for the chosen pixel type and cannot be encoded.”

    can anyone tell me what are the compatible dimensions of the images that can be encoded into pvrtc format.

    #34963

    Hi manubr,

    The PVRTC compressor in PVRTexTool will only compress images that are in power of two dimensions, though not necessarily square. For example, 512×512 is valid, as is 128×1024. The maximum size that it will encode is 2048×2048.

    If you’re using the GUI version of textool you can bring up the pre-process dialog with Ctrl+P, which has an option to make your texture power of two automatically. The command line version has a similar command for square textures (-square), but for rectangular textures you will need to use -x and -y to manually set the size.

    Hope this helps!

    Thanks,

    Tobias

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.