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

depth test fails in renderText

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.3.1, 5.3.2
    • GUI: OpenGL
    • None
    • Windows 7 and Mac OSX 10.9.5

      when GL_DEPTH_TEST is enabled, text rendered by renderText(x,y,z,text) is obscured by an object even if the text is in front of the object. When the same code compiled in Qt-4.8 depth test works as expected. See the attached sample code and screen shots (the left part of the square is behind the text).

      This might well be the same bug as QTBUG-31156, but this example possibly pinpoints the problem somewhat better.

        1. renderTextBug.cpp
          3 kB
        2. shotQt5.png
          shotQt5.png
          15 kB
        3. shottQt4.png
          shottQt4.png
          15 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sletta Gunnar Sletta
            thom_oost Thom Oostendorp
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes