Results 1 to 2 of 2

Thread: QGLWidget and QGLFramebufferObject

  1. #1
    Join Date
    Jan 2008
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default QGLWidget and QGLFramebufferObject

    Hello,

    I have a little strange problem.

    I am using a QGLWidget, now I want to use a QGLFramebufferObject.
    But as soon as I create my QGLFramebufferObject, the OpenGL scene becomes black and white .

    I think not that I am doing any curious things?!

    glWidget = new QGLWidget(parent);

    render a simple cube with colored faces in its paintGL()

    everything goes fine, but after a

    fbo = new QGLFramebufferObject(width, height);

    the scene looses its color

    I have this Problem with Qt 4.3.3 and one of the lates Qt 4.4 snapshots.

    please help.

    OS is WinXP ...

  2. #2
    Join Date
    Sep 2010
    Posts
    4
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: QGLWidget and QGLFramebufferObject


Similar Threads

  1. Transparent window with QGLWidget
    By ultr in forum Qt Programming
    Replies: 4
    Last Post: 28th April 2008, 07:01
  2. why linking problem with QGLWidget???
    By Shuchi Agrawal in forum Newbie
    Replies: 17
    Last Post: 16th March 2007, 10:45
  3. Transparent QWidget on QGLWidget
    By showhand in forum Qt Programming
    Replies: 2
    Last Post: 27th November 2006, 01:00
  4. QGLWidget on another QGLWiget
    By showhand in forum Qt Programming
    Replies: 1
    Last Post: 23rd October 2006, 09:59
  5. 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.