Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Synchronous rendering in Qt3D

    General and Desktop
    qt3d 2.0
    2
    2
    740
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • njbrown
      njbrown last edited by njbrown

      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

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • First post
          Last post