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

Item2D dimensions are different when drawing the textured quad

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.0
    • 6.0
    • Qt RHI, Quick: 3D
    • None

    Description

      Running the RenderModeMultiple Lancelot test case with and without RHI leads to stretched text.

      This is when using the "Item2D" feature, i.e. when parenting a Quick (2D) subtree to a 3D object. RenderDoc reveals that the layerDimensions uniform (and the mvp matrix) is not as expected: (52, 30) instead of (87, 30). The correct one is (87, 30) because that is the size of the texture the Text item is rendered into. The (52, 30) value belongs to another Item2D....

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes