PDA

View Full Version : QGLWidget and QGLFramebufferObject



ConfusedSushi
19th January 2008, 23:32
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 :confused: .

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 :crying:

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

please help.

OS is WinXP ...

Student3000
22nd September 2010, 20:47
me have some similar problem

http://www.qtcentre.org/threads/34436-Why-QGLFramebufferObject-in-QGraphicsItem-don’t-work