Results 1 to 19 of 19

Thread: How to speed up a transparent QGraphicsTextItem in Opengl?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #15
    Join Date
    Feb 2007
    Location
    Karlsruhe, Germany
    Posts
    469
    Thanks
    17
    Thanked 90 Times in 88 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to speed up a transparent QGraphicsTextItem in Opengl?

    Hey Wysota!

    I took the time and added the TextItem to the Widget3D Demo.



    So whenever you have the time you are welcome to look at the code. If not, it'll stay that slow a little longer :->

    Most relevant file is widget3d.h (CGL3dProjectedItem, CGL3dTextItem, ..).

    There you can disable the cachemode. And it works just fine.

    I think the core problem is: How can I use caching when the transformation and thus the boundingrect changes all the time?

    Thx a lot for your help so far!

    Johannes
    Attached Files Attached Files

Similar Threads

  1. OpenGL and Qt Question
    By ToddAtWSU in forum Qt Programming
    Replies: 2
    Last Post: 18th April 2009, 18:04
  2. Does OpenGL speed up the loading image?
    By learning_qt in forum Qt Programming
    Replies: 2
    Last Post: 4th December 2008, 09:26
  3. QMatrix rotate on QGraphicsTextItem speed on render..
    By patrik08 in forum Qt Programming
    Replies: 2
    Last Post: 22nd December 2007, 19:46
  4. OpenGL app at full speed? Can you do it?
    By mattropolis in forum Qt Programming
    Replies: 1
    Last Post: 18th October 2007, 10:54
  5. Qtopia Core & OpenGL ES?
    By zelko in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 28th May 2007, 07:21

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
  •  
Qt is a trademark of The Qt Company.