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

Text rendered using GLWidget::renderText() is rendered at the wrong depth

XMLWordPrintable

    • Windows

      Texts are drawn even when it is behind of other objects.

      This might be related to QTBUG-31156 but the patch for QTBUG-31156 doesn't solve this problem.

      The problem doesn't occur in Qt4.8.x. See the image below.

      How to reproduce :
      Use the attached sample project "hellogl_with_bug.zip".
      Rotate the cube so that the text goes behind the cube.

      Note: The sample project "hellogl_with_bug.zip" is from QTBUG-31156.

        1. hellogl_with_bug.zip
          11 kB
          Nahomi Gröhn
        2. qtbug80867.png
          25 kB
          Nahomi Gröhn
        3. image-2020-02-21-12-39-28-217.png
          10 kB
          Corey Pendleton
        4. hellogl2.zip
          10 kB
          Pat McGowan
        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
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes