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

Enhace Qt3DRender::QLayerFilter

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • 5.10.1
    • None
    • Qt3D
    • None

    Description

      I'm building a simple application where I need to render a static background for my OpenGL scene. For this, I'm using a custom framegraph with 2 renderviews. The first renderview has a QLayerFilter so it only gets the background plane geometry and uses an ortographic camera. The second renderview should render everything but the background plane with a normal camera.

      With the current functionality of QLayer, I have to add a QLayerFilter for the second renderview and a QLayer to every single object in the scene but the background. This is no practical

      I think it would be much better to enhace QLayerFilter functionality so that it can matches more complex scenarios. For example, an exclude option, where the entity is render is it doesn't have the related QLayer (select all entities which don't have A layer), or even more complex logical criteria (select all entities which have A layer but don't have B layer)

      It will also be nice is the QFilterLayer can "filter recursively". If an entity matches the QFilterLayer criterion, then children entities also matches the criterion even if they have no QLayer components (maybe this is a little more complex)

      Attachments

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

        Activity

          People

            juan.casafranca Juan José Casafranca
            jjcasmar jjcasmar
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes