Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Weird result when combine DirectionalBlur and zoomBlur(QtGraphicalEffect)

$
0
0
compiler : clang3.2 os : mac osx 10.8.3 Qt ver : 5.1Beta EX 1 : Rectangle{     id : root     width : 1024     height : 768       state: "NORMAL"       Image{         id: img           anchors.fill: root         smooth: true         fillMode: Image.PreserveAspectFit         source: "Downloads/lena.tif"           DirectionalBlur {             anchors.fill: img             source: img             angle: 90             length: 32             samples: 24         }           /*ZoomBlur {             anchors.fill: img             source: img             samples: 0             length: 0         }*/     } } The results [flickr.com] Rectangle{     id : root     width : 1024     height : 768       state: "NORMAL"       Image{         id: img           anchors.fill: root         smooth: true         fillMode: Image.PreserveAspectFit         source: "Downloads/lena.tif"           DirectionalBlur {             anchors.fill: img             source: img             angle: 90             length: 32             samples: 24         }           ZoomBlur {             anchors.fill: img             source: img             samples: 0             length: 0         }     } } The results [flickr.com] Since the samples and length of ZoomBlur are zero, it should not have any effect to the image Infact, combination of RadialBlur and DirectionalBlur would bring weird result too, but combination of RadialBlur and ZoomBlur have no problem(atleast my eye can’t tell it)

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images