Best Practices When Drawing Many High Resolution Images to the Screen With High Frame Rates.
I am very new to QT Creator and am a little overwhelmed with all of the power QT has to offer. I am wondering what the best / most efficient way to draw many high resolution 2D images onto the screen, with a static background image. The processing / drawing should be hardware accelerated, because there are is a moderate amount of rotations and translations that need to occur in real time. And am hoping to see a frame rate in the 100s, and there are a lot of fast moving images that need to look smooth as they move across the screen. I have looked into a couple of solutions but I am not sure which one is best (if any).:
Use a QGLWidget to house all of the images and override the paintEvent method. (tried this and only got 60 fps, possibly because of v-sync?, compared to comparable results with a vanilla non GL widget)
Use a QGraphicsView to house multiple QGraphicsPixmapItems.
Any input on the best solution to this type of problem or what tutorials I should look at that follow the best practices.
Hi and welcome to devnet,
Do I understand correctly that you want to run your FPS at 100Hz ?
In any case, you'll have to go OpenGL (QWindow and friends)