小编gSt*_*hin的帖子

Vuforia Videoplayback问题 - 视频播放倒置

我正在开发一个结合了Vuforia ImageTarget和VideoPlayback的项目.我有'N'个目标,它有相应的视频.对于某些imageTargets,视频会被翻转.我找不到任何解决这个问题的方法.这是我的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 …
Run Code Online (Sandbox Code Playgroud)

android vuforia android-studio

7
推荐指数
1
解决办法
421
查看次数

具有多个视图的自定义警报对话框

我正在尝试创建一个带有取消按钮的自定义警报,如下图所示,请帮我创建.提前致谢.!

在此输入图像描述

xml android android-alertdialog

-1
推荐指数
1
解决办法
844
查看次数