Re: [PyOpenGL-Users] Crossfade images
Brought to you by:
mcfletch
From: Mads I. <mp...@co...> - 2009-10-16 08:08:54
|
Frédéric wrote: > On vendredi 16 octobre 2009, Ian Mallett wrote: > > >> I can't really help you directly, as I have no idea what PyQt4 is. >> >> The flickering screen might be caused by vsync issues and/or >> double/single buffering issues. >> >> To your second question, OpenGL also has many blending modes, so you can >> use those. I don't know how that works with PyQt4. >> > > Thanks for your answer. I will dig for that vsync/double buffering issue. > > PyQt4 is the Python binding for the Qt graphical toolkit. > > The QGLWidget from PyQt4 provides a generic framework for doing OpenGL graphics. But if you have PyQt4 related questions you should consult the PyQt4 mailing list: http://www.riverbankcomputing.co.uk/support/lists. The double buffering behavior of the QGLWidget, however, is pretty well-described in the Qt documentation http://doc.trolltech.com/4.5/qglwidget.html. In general, I suggest you start off by developing a very simple example that displays, say, a sphere or a torus and make sure this works as intended. Then, you can start off by doing more complex things. Best regards, Mads -- +-------------------------------------------------------------+ | Mads Ipsen, Scientific developer | +-------------------------------+-----------------------------+ | QuantumWise A/S | phone: +45-29716388 | | Nørre Søgade 27A | www: www.quantumwise.com | | DK-1370 Copenhagen K, Denmark | email: mp...@qu... | +-------------------------------+-----------------------------+ |