Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Antialiasing problems
Forum Updated to NodeBB v4.3 + New Features

Antialiasing problems

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 3 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FOXLISIN
    wrote on last edited by FOXLISIN
    #1

    Hi guys, I faced with the antialiasing problems.
    I have next part of code:

    QSurfaceFormat format;
    format.setSamples(8);
    m_mainView->setFormat(format);
    

    where m_mainView is QQuickView*.

    But after that I have such artifacts (some "ghost" white lines at the bottom of the image):

    artefacts

    These artifacts are found throughout the project near ".png" images with transparency. Any guesses?
    Thank you in advance!

    F 1 Reply Last reply
    1
    • F FOXLISIN

      Hi guys, I faced with the antialiasing problems.
      I have next part of code:

      QSurfaceFormat format;
      format.setSamples(8);
      m_mainView->setFormat(format);
      

      where m_mainView is QQuickView*.

      But after that I have such artifacts (some "ghost" white lines at the bottom of the image):

      artefacts

      These artifacts are found throughout the project near ".png" images with transparency. Any guesses?
      Thank you in advance!

      F Offline
      F Offline
      FOXLISIN
      wrote on last edited by
      #2

      Nobody faced with this problem? No guesses?

      MikhailGM V 2 Replies Last reply
      0
      • F FOXLISIN

        Nobody faced with this problem? No guesses?

        MikhailGM Offline
        MikhailGM Offline
        MikhailG
        wrote on last edited by
        #3

        @FOXLISIN well you could put your item into a rectangle set desirable height and width than set clip to true. It is hacky but could work.

        1 Reply Last reply
        0
        • F FOXLISIN

          Nobody faced with this problem? No guesses?

          V Offline
          V Offline
          vladstelmahovsky
          wrote on last edited by
          #4

          @FOXLISIN since its pure HW specific may be its good idea to start from HW description?

          F 1 Reply Last reply
          0
          • V vladstelmahovsky

            @FOXLISIN since its pure HW specific may be its good idea to start from HW description?

            F Offline
            F Offline
            FOXLISIN
            wrote on last edited by
            #5

            @vladstelmahovsky
            I also thought that this is HW specific problem. But the application has been tested on 8 different PCs and these artifacts were on each machine.

            But here is my configuration:
            Win7 64, Intel Core i5-2400 CPU 3.10GHz, 8GB RAM, GeForce GT 430

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved