Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-106865

RHI RenderCapture capture results differ from OpenGL renderer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.3.1, 6.3.2
    • Qt3D
    • None
    • Windows

      QRenderCapture behaves differently when using the RHI renderer than when using the OpenGL renderer.

      • The OpenGL renderer only captures the rendered content of the 3D scene, while the RHI renderer captures the entire root QML item.
      • The 'rect' argument of the requestCapture function does not work with the RHI renderer.

       

      Step to reproduce:

      1. Apply rendercapture-qml.patch to qt3d/tests/manual/rendercapture-qml
      2. Build and run the rendercapture-qml

       

      The entire loot item is captured, including the red circle

       

      Using the OpenGL renderer with environment variables QSG_RHI_BACKEND=opengl and QT3D_RENDERER=opengl works as expected.

       

        1. rendercapture-qml.patch
          1 kB
          Atsushi Yamamoto
        2. image-2022-09-22-12-45-44-533.png
          64 kB
          Atsushi Yamamoto
        3. image-2022-09-22-12-50-10-537.png
          55 kB
          Atsushi Yamamoto
        For Gerrit Dashboard: QTBUG-106865
        # Subject Branch Project Status CR V

            seanharmer Sean Harmer
            ayamamoto Atsushi Yamamoto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes