Not able to map pvr compressed texture

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Anusha 1 year, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #53336

    Anusha
    Member

    Hello,

    In Opengl ES 2.0 ios, I am not able to map compressed pvr texture to models. I have encoded texture using PVRTextool and am getting the following result,

    I have loaded PVRTexture in my game,

    Could you please help,

    Thank you,

    Anusha

    Attachments:
    You must be logged in to view attached files.
    #53374

    kevin
    Member

    Hi Anusha,
    Can you provide the API call recording file for this error for me to investigate this issue?
    the rough usage for the compressed texture should like the following.
    Call UID 26: glGenTextures (1 , 1)
    Call UID 27: glBindTexture (GL_TEXTURE_2D , 1)
    Call UID 29: glCompressedTexImage2D (GL_TEXTURE_2D , 0 , GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG , 256 , 256 , 0 , 32768 , ~Image(32768 bytes)~)

    Please check if there is any error message:D

    Thanks,
    Kevin

    #53385

    Anusha
    Member

    Hello Kevin,

    This is API recording.

    GL_APPLE_rgb_422 GL_APPLE_sync GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_APPLE_texture_packed_float GL_IMG_read_format GL_IMG_texture_compression_pvrtc
    ram: 8730: GL_TRIANGLES
    BuildStripifyInfo: > 2 triangles on an edge… uncertain consequences
    BuildStripifyInfo: > 2 triangles on an edge… uncertain consequences
    ram: 4677: GL_TRIANGLE_STRIP

    This is no error message,

    Thank you,

    Anusha

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