Results 1 to 3 of 3

Thread: QGLWidget render or QGraphicsView with GL viewport render

  1. #1
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Question QGLWidget render or QGraphicsView with GL viewport render

    Hi,

    What would be the most effective method of using Qt + OpenGL in terms of render speed, embedding overlays (UI), memory (if there are issues whatsoever) and any other criteria?

    Method 1: Render through QGLWidget
    Method 2: Render through QGraphicsView QGraphicsScene viewport(QGLWidget)

    Thanks,

    QTInfinity

  2. #2
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Question Re: QGLWidget render or QGraphicsView with GL viewport render

    What do you think? Anyone?

  3. #3
    Join Date
    Oct 2007
    Location
    Lake Forest, CA, USA
    Posts
    132
    Thanks
    10
    Thanked 27 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: QGLWidget render or QGraphicsView with GL viewport render

    I don't think there's will be any difference in render part, speed should be the same. Regarding what to choose you should decide which widget better fits your needs. QGraphicsScene allows easy embedding anything inside it (see Embedded Dialogs demo).
    Oleg Shparber

Similar Threads

  1. How to render context of QGLWidget, outside of the window
    By KnufflPuffl in forum Qt Programming
    Replies: 1
    Last Post: 28th December 2010, 22:41
  2. QGLWidget and QThread, how to render in separate thread?
    By DIMEDROLL in forum Qt Programming
    Replies: 3
    Last Post: 2nd December 2010, 20:56
  3. Render QWidget within QGLWidget
    By crazymonkey in forum Newbie
    Replies: 29
    Last Post: 26th September 2010, 14:54
  4. Replies: 1
    Last Post: 7th May 2010, 18:20
  5. QGLWidget Render Text in the foreground
    By arpspatel in forum Qt Programming
    Replies: 1
    Last Post: 11th April 2010, 12:35

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.