Hi i have integrated QCAR with sio2 renderer and stuck with rendering the video background. In the function - (void)renderFrameQCAR i am using the following code, the model renders and augments as expected with out video background. If i uncomment the 1st line model fails to appear. Please help me to fix this problem.
//QCAR::Renderer::getInstance().drawVideoBackground();
sio2WindowUpdateFrame( sio2GetWindow() );
Hi pradeep
Hard to say as few people have had success integrating 3rd party engines, so it's great that you are trying :)
Not sure about Android, however one possibility on iOS is that sio2 could be using it's own OpenGL ES context which might bear no relation to the one that QCAR might be using - and therefore nothing gets displayed. You might need to check where sio2 initialises OpenGL ES and how it does this, so that it integrates properly with Vuforia.
I'm not sure of the best strategy here, as some have had success by grabbing the video feed and storing it in a texture and then displaying that within the 3rd party engine. Here is a link to the thread which may or may not be useful: https://ar.qualcomm.at/content/cocos2d-and-qcar-project-integration
Let me know how you get on.
N