Synchronous rendering in Qt3D
-
Hello,
I am working on the new version of Jahshaka and I am required to use Qt3D with the OculusVR sdk. The issue i am having is the inability to know when it is the end of a frame in the rendersystem so i can submit the scene's rendertexture to the ovr sdk. The obvious solution would be to use the QRenderAspect in synchronous rendering mode then submit the scene's rendertexture to the ovr sdk after calling renderAspect->renderSynchronous(). I am trying to achieve something similarly to what is done here http://code.qt.io/cgit/qt/qt3d.git/tree/src/quick3d/imports/scene3d/scene3drenderer.cpp?h=5.7#n211 as recommended by Seam Harmer, however I am working purely in c++ and not qml. I am also trying to avoid building a custom version of qt3d as much as possible.
Is synchronous rendering using qt and c++ currently possible in the qt3d version that comes in the 5.6 release? Can anyone provide a small sample or just a snippet of how to initialize and render using synchronous rendering?
Any help would be appreciated.
Regards,
Nicolas -
Hi,
I'd recommend bringing this question to the interest mailing list. You'll find there Qt3D's developers/maintainers. This forum is more user oriented.