Set flag for vertical flip

This topic contains 3 replies, has 2 voices, and was last updated by  Anoop 2 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #48407

    Anoop
    Member

    Hello,

    I want to save the texture using saveFileLegacyPVR and need to set the flag for vertical flip also.
    Is there any way to set the vertical flip flag?

    Thanks,
    Anoop

    #48419

    PaulL
    Admin

    In PVR file metadata the fourCC PVR3, key 3, is a set of three byte values that define the orientation of the texture data. The second value represents the Y axis, so flipping this value will invert the data vertically.

    For more detail, please see the PVR file format specification in the documentation included in the PowerVR SDK.

    #48426

    Anoop
    Member

    Thanks it worked by setting the MetaData.

    #48435

    Anoop
    Member

    By using the setOrientation(ePVRTOrientUp) also I get the same result. May be internally it is doing the same by setting the MetaData. Is it right?

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