Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QGraphicsBlurEffect is so UGLY.
Forum Updated to NodeBB v4.3 + New Features

QGraphicsBlurEffect is so UGLY.

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 819 Views 2 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.
  • QtFCQ Offline
    QtFCQ Offline
    QtFC
    wrote on last edited by
    #1

    I created a scene and added two items. Text and Rect. And applied effects to them. If everything is fine with the shadow effect, then the blur effect looks terribly.QGraphicsBlurEffect.png

    W 1 Reply Last reply
    1
    • QtFCQ QtFC

      I created a scene and added two items. Text and Rect. And applied effects to them. If everything is fine with the shadow effect, then the blur effect looks terribly.QGraphicsBlurEffect.png

      W Offline
      W Offline
      wrosecrans
      wrote on last edited by
      #2

      @QtFC https://doc.qt.io/qt-6/qgraphicsblureffect.html#BlurHint-enum ?

      QtFCQ 1 Reply Last reply
      0
      • W wrosecrans

        @QtFC https://doc.qt.io/qt-6/qgraphicsblureffect.html#BlurHint-enum ?

        QtFCQ Offline
        QtFCQ Offline
        QtFC
        wrote on last edited by QtFC
        #3

        @wrosecrans I know about that. This does not give any effect.
        The image is very pixelated, it shouldn't be like that.
        Need some method that would allow to adjust the step of pixelation.

        QtFCQ 2 Replies Last reply
        0
        • QtFCQ QtFC

          @wrosecrans I know about that. This does not give any effect.
          The image is very pixelated, it shouldn't be like that.
          Need some method that would allow to adjust the step of pixelation.

          QtFCQ Offline
          QtFCQ Offline
          QtFC
          wrote on last edited by QtFC
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • QtFCQ QtFC

            @wrosecrans I know about that. This does not give any effect.
            The image is very pixelated, it shouldn't be like that.
            Need some method that would allow to adjust the step of pixelation.

            QtFCQ Offline
            QtFCQ Offline
            QtFC
            wrote on last edited by
            #5

            https://bugreports.qt.io/browse/QTBUG-111109

            1 Reply Last reply
            0
            • Kent-DorfmanK Offline
              Kent-DorfmanK Offline
              Kent-Dorfman
              wrote on last edited by
              #6

              ok...it's undeniably ugly. It's Qt.

              Make your own effect!

              I light my way forward with the fires of all the bridges I've burned behind me.

              1 Reply Last reply
              0
              • QtFCQ Offline
                QtFCQ Offline
                QtFC
                wrote on last edited by QtFC
                #7

                I've been thinking about it too. On stackoverflow I saw an example of some simpler custom effect.

                I'm not sure I can write such an effect, it's not about the algorithm, you just need to add up the neighboring points and divide by their number.
                Main problem from where get these points and where to record them later.

                I think this is not an easy task.
                And in Python it will probably work slowly.

                Why not improve what is already there?
                Most likely, the texture scale is not correctly selected there.
                If large textures eat up performance, then this parameter should be made configurable.

                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