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

"#Rectangle" mesh is not simple enough

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.0.0
    • 5.14.0, 5.14
    • Quick: 3D
    • None
    • 1
    • 196bc781d2d12dec6e02aca8de40390d93a2736b (qt/qtquick3d/dev)
    • Qt Quick 3D - 35 - 36, Qt Quick 3D - 37 - 38

      A rectangle can be drawn by 2 triangles, however, the primitive "#Rectangle" in QtQuick3D has 8 tringles in one. (attached screenshot is captured with nvidia nsight graphics profiler.)

      Minimum qml to reproduce is also attached.

      We should just add #Quad in addition to #Rectangle for this purpose (and perhaps do the same thing with #Cube)

        1. main.qml
          0.7 kB
        2. rectangle_meshes.png
          rectangle_meshes.png
          44 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            janichol Andy Nichols
            notohge Norihito Tohge
            Pasi Keränen Pasi Keränen
            Andy Nichols Andy Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes