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

Item2D dimensions are different when drawing the textured quad

XMLWordPrintable

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

      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....

        For Gerrit Dashboard: QTBUG-83816
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes