PDA

View Full Version : Real time rendering



kaszewczyk
7th July 2010, 14:43
Hello,
I wonder if OpenGL module in Qt is good for real time rendering?
It would be nice to use it for this purpose becouse Qt is cross platform and gives api's for a lot of things that could be useful to use with opengl.
But becouse of its own architecture i cant use simple main loop to render scene, the QGLWidget give painGL() method that have to be updated by connecting updateGL with QTimer signal or call updateGL at end of it. And becouse that I am not sure if fps will drop if i will render lots of objects comparing to native api's ?

Please advice me.

Best Regards
kaszewczyk

agathiyaa
7th July 2010, 17:26
FPS would not drop. Qt internally makes native call. You can even call swapBuffers instead of updateGL. updateGL is cross-platform.