How to make opengl offscreen renderer
-
wrote on 8 Jul 2016, 18:35 last edited by
Hi,
I would like to generate pixmap from opengl offscreen renderer.
An extenal library do the rendering; I have modified this library to use QOpenGLContext.
So it works for rendering in QOpenGLWidget.
My purpose is to generate pixmap from opengl rendering offscreen to make icons
in combobox.Thanks,
-
Hi,
I would like to generate pixmap from opengl offscreen renderer.
An extenal library do the rendering; I have modified this library to use QOpenGLContext.
So it works for rendering in QOpenGLWidget.
My purpose is to generate pixmap from opengl rendering offscreen to make icons
in combobox.Thanks,
wrote on 8 Jul 2016, 19:16 last edited by A Former User 7 Aug 2016, 19:19@Roy44 Hi! As a first read I recommend the documentation page for QOffscreenSurface Class and then the Rendering FBOs in a Thread example. Good luck :-)
2/2