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

Motion blur moving a rectangle

$
0
0
Hello: I’m trying to add some motion blur to the movement of a rectangle. Mi rectangle is this one:     Rectangle{         color: "red"         height: 20         width: height         radius: height/2         x: myPlayer.playpoint.x         y: myPlayer.playpoint.y     } where ‘x’ and ‘y’ are given by C++ side as Q_PROPERTY. As you can see, I only wanna make better transitions between diferent positions. I tryed painting this rectangle in diferentes positions with a QQuickPaintedItem and the result is more or less the same. Have you got any better idea? Thanks. How can I make this movement looks better?

Viewing all articles
Browse latest Browse all 4972

Trending Articles