VuforiaLibGDX icon indicating copy to clipboard operation
VuforiaLibGDX copied to clipboard

Deprecated code

Open VinceAngel opened this issue 8 years ago • 3 comments

Hi, I was just upgrading my project (Vuforia/Gdx) and google sent me here because I was looking at drawVideoBackground . FYI, this method is Deprecated now, you need to use

videoBackgroundTex.setTextureUnit(vbVideoTextureUnit);
mRenderer.updateVideoBackgroundTexture(videoBackgroundTex));

Good luck !

VinceAngel avatar Sep 23 '16 08:09 VinceAngel

Many thanks for the info! Currently I don't have Vuforia/NDK setup on my machine, but as soon as I get around to installing it again, I'll update the repo :)

daemontus avatar Sep 23 '16 09:09 daemontus

Any plans on updating the project with latest Vuforia SDK?.

sunilsunny565 avatar Mar 26 '18 08:03 sunilsunny565

Unfortunately, the latest SDK seems to have a bit more complex architecture which does not play with LibGDX so well. I made a few adjustments to glue it together in a similar way as before, but there are race conditions in initialisation (Vuforia and LibGDX seem to be fighting over some OpenGL buffers) and I couldn't get the model to render properly yet. However, the coordinates for each frame seem to be computed correctly, so I suspect it is another OpenGL issue.

Currently, I consider this as deprecated. If anyone has time and motivation to fix it, I'm happy to give maintainer rights.

daemontus avatar Jul 26 '18 15:07 daemontus