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

Move frustum culling to an earlier stage

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Quick: 3D
    • None

    Description

      Currently frustum culling, when enabled, happens pretty late in the pipeline.

      Meanwhile in the monolithic prepareModelForRender() there is a lot of stuff that is not needed if the model is culled away.

      Thinking mainly of material and esp. the default/principled materials' built-in texture maps: loading the base color map for a model is wasteful if the model is then culled away, and the same texture map is not used by any other model in the scene.

      Ideally prepareModel should be split up to multiple smaller functions, and the culling would happen at some point in-between those.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stromme Christian
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes