Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104122 Anti-aliased curve rendering for shapes
  3. QTBUG-114807

Fix overlap detection for concave join points

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • Not Evaluated
    • 6.7.0 Beta2, 6.8.0 FF
    • None
    • None
    • b286e6119 (dev), 1f9870005 (6.7)

    Description

      Issue can be easily seen with the Mussel test scene:

      The indicated join point overlaps the triangle of the lower quad curve. That causes filling errors. (The reason there are two, and not one, artefact triangle in the picture is that the straight line actually consists of two line elements)

      There is initial code to handle this behind QT_QUICKSHAPES_WIP_CONCAVE_JOINT. However it is marked as inefficient.

      [Previously it also consistently caused a cascading splitting, so the problematic curve was always divided into 512 subcurves, and an error message was printed saying that the splitting limit is reached, but I can no longer reproduce that].

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              vgt Eirik Aavitsland
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes