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

Move primitiveType from QQuick3DGeometry to Model

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 6.2.0
    • Quick: 3D
    • None
    • Windows

    Description

      QQuick3DGeometry class has a property "primitiveType" wich is techencally not part of geometry, but rather related to visualisation.
      If a geometry class instance is created with some custom geometry, to render the geometry as triangles with outlined edges the instance has to be copied (one for rendering triangles and one for lines) which increases memory consumption and decreases the performance.
      Instead I suggest that primitiveType property should be moved to "Model" item, so it will be possible to use single QQuick3DGeometry instance for two models with different primitive types.

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            alexey89 alexey89
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes