"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

What drawVideoBackground() does?

Hi,

On my renderFrameQCAR() loop, I tried to commented this line :

//QCAR::Renderer::getInstance().drawVideoBackground();

I expected my AR to work as usual except the video would not show. But instead of that, I get a black screen. All my overlays, images I were drawing on the open gl surface are not shown. Why is that? Is there a way to show the overlays without showing the video? 

It would be too difficult to explain why I need that, but trust me that would help me so much. Thanks a lot for your help!

jptsetung

Thu, 11/12/2015 - 14:02

After searching a bit, adding glViewPort made it work. So ig guess drawVideoBackground was calling glViewPort?

 

Something like this worked :