If you only add polygons and never remove them then paint on a pixmap and then "blit" the pixmap to the widget. When a next polygon comes, draw just this one polygon on the pixmap that already contains all the previous ones and re-blit the pixmap to the widget. If you combine that with repainting only that area of the pixmap which contains the new polygon, it should be super fast.
Other than that, you can always use OpenGL. And I don't think you really need to draw the widget at 1kHz, 20Hz would be more than enough.






Reply With Quote
Bookmarks