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

RHI RenderCapture capture results differ from OpenGL renderer

    XMLWordPrintable

Details

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

    Description

      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.

       

      Attachments

        For Gerrit Dashboard: QTBUG-106865
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes