Hi Alex,
i don´t know the size of the texture in your example, but could it be possible, that the textures size is bigger than the polygons size, so that one tile fills out the whole polygon?
In my case the polygon is much bigger than the texture, so that the texture has to be repeated to fill the whole polygon. Between these texture tiles i have always an empty space. Could you please try the following code with the polygon larger than the texture (my texture is 50×50 px):
import VPlay 1.0
import QtQuick 1.1
GameWindow {
activeScene: scene
width: 960
height: 640
Scene {
id: scene
width: 960
height: 640
PolygonItem {
x:1
y:1
texture: "texture.png"
vertices: [
Qt.point(250, 0),
Qt.point(0, 250),
Qt.point(0, 500),
Qt.point(250, 500),
Qt.point(500, 500),
Qt.point(500, 250)
]
}
}
}
Today i switched to daily builds 1.5.1 what didn´t solve the problem.
Thanks!
Heini