[Qt-interest] custom OpenGL widget update blocks other Qt GUI rendering

Konstantin Tokarev annulen at yandex.ru
Mon Feb 21 14:21:09 CET 2011



21.02.2011, 14:35, "Artem Kharitonyuk" <artemalive at gmail.com>:
> Have the same problem.
> We implement gui for our raytracer with QT and we have preview window that
> renders using OpenGL (QGLWidget). Rendering is updated by the timer. For simple
> scenes everything is OK, but for really complex ones (> 10M triangles), when one
> frame takes > 100ms to render, we have a problem - open file dialog simply
> failed to draw itself - only some parts of it are appeared and than entire app
> stops responding.

You need to do OpenGL rendering in a separate thread

-- 
Regards,
Konstantin



More information about the Qt-interest-old mailing list