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

depth test fails in renderText

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        1. renderTextBug.cpp
          3 kB
        2. shotQt5.png
          shotQt5.png
          15 kB
        3. shottQt4.png
          shottQt4.png
          15 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes