Log in or register to post comments

A sample to show how to draw video background with OpenGL ?

October 9, 2020 - 5:51am #1

I'm trying to update a Vuforia app that is using OpenGL to render over the video background. The new Vuforia framework doesn't have the drawVideoBackground method but I can't find a sample that describes how to draw video background with the new Vuforia Framework and OpenGL.

It seems that drawVideoBackground was removed in version 7, so maybe if I could get an archive of version 7 samples ? Can't find the old samples anywhere.

I really need help on this, thank you.

 

Edit, this is what I tried so far but that still doesn't show the video, what am I missing ?

 

videoBackgroundTexture=new Vuforia::GLTextureData();

mRenderer.setVideoBackgroundTexture(*videoBackgroundTexture);

mRenderer.updateVideoBackgroundTexture(); //called on every frame

A sample to show how to draw video background with OpenGL ?

October 15, 2020 - 12:01am #2

Hi,

Our native Android Samples use OpenGL 3 for rendering.

Hope it helps.

Vuforia Engine Support

Log in or register to post comments