Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-2591

Stereoscopic support forces every scene to be rendered 3 times

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • Qt 3D Studio 2.2 BETA1
    • Qt 3D Studio 2.2 BETA1
    • Runtime 2.x
    • None
    • f8b979918d726ac6c31560537a380a728fc7c274

    Description

      An important aspect of the stereoscopic support was missed in the code review, unfortunately:

      Creating the mono, left, right related items in the framegraph regardless of the stereoscopic-enabled setting leads to tripling the number of leaves and so leads to rendering the whole scene three times. This is wrong. The left/right eye related subtrees should not even be present at all in the framegraph when running in the default "mono" mode.

      The attached screenshot shows how the barrel, with its one layer, is now rendered 3 times. Those 4 passes (mono, left, right, composition) should have been 2 (mono, composition).

      The same shown in the framegraph. Having 3 QRenderTargetSelector subtrees for each layer is pretty bad.

      Attachments

        For Gerrit Dashboard: QT3DS-2591
        # Subject Branch Project Status CR V

        Activity

          People

            kagro Kaj Grönholm
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change