Search code examples
androidvideovuforia

Vuforia Videoplayback flipped and mirrored video


I'm working with Vuforia SDK (Android), with Videoplayback sample, and I sometimes get a bug: inverted, mirrored video on the target. Here's screen (number 2):


Solution

  • I have solved the problem by changing the

    float videoQuadTextureCoordsTransformed[] = { 0.0f, 1.0f, 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, };
    

    to

    float videoQuadTextureCoords[] = { 0.0f, 1.0f, 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, };