Hi, all
I want to draw series wiggle lines with OpenGL in Qt4. As we all know, the doubleBuffer is 'on' by default in Qt4. So I think the QGLWidget will be the fittest to me. But the effect is not good and the screen is flicker.
My method is refresh the the whole GL scene when the data is changed which is generated by a functin of rand. Please looked at the attachment which are some code. Is anyone would help me or have some other good idear?
Bookmarks