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

Lightmap baking blocks

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.9
    • Quick: 3D
    • 0a96c2c7d02fe0e4491c260bdd41d8b10dc48789

      Baking a scene is currently a blocking operation, rendering the application unusable until the process completes. When baking via DebugView, this results in a frozen application, and when baking via the CLI, a white window appears that never completes rendering before the application exits.

      This behavior occurs because the lightmap baker uses the main renderer for GPU tasks during the baking process, interleaved with heavy CPU work.

      A potential solution is to implement a dedicated off-screen renderer specifically for the lightmapper. This would allow the baking process to run independently, with a single callback notifying the application when baking is complete.

      This change would enable the application to remain responsive during baking. With some additional work, it could also improve the CLI experience by avoiding the need to show a window at all.

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

            qt.team.graphics.and.multimedia Qt Graphics Team
            kskau Kristoffer Skau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes