JoergRe
7th May 2008, 16:58
Hi folks,
here comes my first posting :)
I want to display raw data from a camera by using QGraphicsView and pixmap.
For performance issues I have to enable OpenGl, but this leads to my problem.
If OpenGL is enabled, the pixmap is getting transformed. For me it looks like the nearest neighbor algorithm for smoothing an image.
So my question:
- is it possible to disable this effect, so that QGLWidget engine is NOT antialiasing edges?
I played with QPainter::RenderHints, but no success.
Attached you'll find the source code and screenshots of the test-application. I am using version 4.3 of qt.
Kind regards
Joerg
here comes my first posting :)
I want to display raw data from a camera by using QGraphicsView and pixmap.
For performance issues I have to enable OpenGl, but this leads to my problem.
If OpenGL is enabled, the pixmap is getting transformed. For me it looks like the nearest neighbor algorithm for smoothing an image.
So my question:
- is it possible to disable this effect, so that QGLWidget engine is NOT antialiasing edges?
I played with QPainter::RenderHints, but no success.
Attached you'll find the source code and screenshots of the test-application. I am using version 4.3 of qt.
Kind regards
Joerg