[Qt-qml] Problems with QML with OpenGL viewport
Adriano Rezende
atdrez at gmail.com
Sat Feb 4 14:44:15 CET 2012
On Sun, Jan 15, 2012 at 8:24 AM, Andrea Bernabei <and.bernabei at gmail.com>wrote:
>
> I have tried changing the setViewportUpdateMode, and that doesn’t help
> (I have tried all values)…unless I set it to FullViewportUpdate, in
> which case the UI is always repainted and FPS goes from 36 (with the
> 3D model viewer and all the rest under the black layer) to 22!!
>
When you set the viewport to use OpenGL you cannot use partial updates,
since opengl just operates with full updates. But as suggested the best
approach for you is to use Qml3D project, which I think already handles
this integration probably rendering to a frame buffer object.
Br,
Adriano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20120204/70c6c13a/attachment.html
More information about the Qt-qml
mailing list