Results 1 to 6 of 6

Thread: Texture in QGLWidget

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    26
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question Texture in QGLWidget

    Hi, all

    In the scene, I make an image by using large size of data. And I need to do some other operations on the drawed image. Take drawing lines by move mouse for example. As anybody know, the image will be repainted when the mouse moving and this make the speed very slow!! I want to use texture to solve the proble. But the texture size is limited as 64,128 or 256. My image size can't be limited.

    1. How can I use texture but not limit?
    2. Or is there any other way to speed up?
    3. I use gluBuild2DMipmaps(), but the color of my drawed lines won't be correctly display. And why?

    Does anybody can help me, thanks in advance!!
    Last edited by showhand; 25th October 2006 at 10:51.
    There is no secret in the face of the code.

Similar Threads

  1. Textures + Multiple QGLWidgets
    By KShots in forum Qt Programming
    Replies: 8
    Last Post: 19th October 2007, 21:23
  2. QGLWidget on another QGLWiget
    By showhand in forum Qt Programming
    Replies: 1
    Last Post: 23rd October 2006, 09:59
  3. QGLWidget Problems
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 2nd October 2006, 22:06
  4. QGLWidget updateGL()
    By Lele in forum Qt Programming
    Replies: 7
    Last Post: 30th May 2006, 15:08

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.