Im working on a project combining Vuforia ImageTarget and VideoPlayback. I have an āNā number of targets, and you have relevant videos. For some graphics, the video is upside down. I can not find a solution for this problem. Here is my VideoPlaybackRenderer
int videoPlaybackTextureID[] = new int[VideoPlayback.NUM_TARGETS]; // Keyframe and icon rendering specific private int keyframeShaderID = 0; private int keyframeVertexHandle = 0; private int keyframeNormalHandle = 0; private int keyframeTexCoordHandle = 0; private int keyframeMVPMatrixHandle = 0; private int keyframeTexSampler2DHandle = 0; // We cannot use the default texture coordinates of the quad since these // will change depending on the video itself private float videoQuadTextureCoords[] = { 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, }; private Float videoQuadTextureCoordsTransformed[] = {0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f,}; List<Float[]> videoQuadTextureCoordsTransformedList = new ArrayList<Float[]>(); // Trackable dimensions Vec3F targetPositiveDimensions[] = new Vec3F[VideoPlayback.NUM_TARGETS];
android android-studio vuforia
gStephin
source share