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

Proposal: Enabling Manual Selection of Automatic LoD Levels for Instances

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • Quick: 3D
    • None
    • All

      The automatic Level of Detail (LoD) system is a valuable tool that helps avoid the laborious manual creation of LoD models by designers. However, when using Instancing, this automation becomes uncontrollable, forcing developers to spend time on manual work.


       

      The Existing Problem (and why it is expensive)

       

      1. High Cost of Manual LoD: Manually creating several LoD levels for every model is a very expensive and time-consuming process for game developers.
      1. Lack of Control for Instances: The automatic LoD system works, but it is completely hidden "under the hood." For instances, the only existing control mechanism is based on distance ranges: instancingLodMax and instancingLodMin in instance tables.
      1. Absence of Direct Selection: If a model has automatically generated LoD levels, there is currently no way to explicitly specify which of these automatic meshes should be displayed for a particular instance.

      Key Point: The inability to directly select the LoD mesh forces designers either to manually create meshes to ensure the necessary level of detail for specific groups of instances.


       

      The Proposed Solution

       

      We propose adding a simple property to the Model object for the manual specification of the LoD level index to be used.

      The Proposal's Core:

      1. A new property, for example, lodIndex (LoD level index), is added to the Model object.
      1. If this property is defined (and not set to "Auto"), the system will always load the specified LoD level, using the automatically generated mesh, provided it exists in the source asset.

       

      Advantages

       

      This will resolve the "expensiveness" problem as follows:

      • Utilizing Automation: Developers will be able to effectively use automatically generated LoD levels for their models.
      • Precise Control for Instances: They will be able to directly bind a specific (automatic) LoD mesh to an instance, avoiding the labor costs of manual mesh creation and complex distance range configuration.

      Example Configuration with Manual Automatic LoD Selection:

       

      InstanceTable {     id: table  }
      Model{     instance: table     lodIndex: 0     instancingLodMax: 100     instancingLodMin: 1 }
       
      Model{     instance: table     lodIndex: 1     instancingLodMax: 1000    instancingLodMin: 100 } 

       

       

        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
            endrii Andrei Yankovich
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes