Hello
How to create JPG image of OpenGL drawing without a window?
(My application must be real-time 3D image generator with no GUI)
Is there any tutorial or sample source code available on this subject?
Thanks in advance.
Hello
How to create JPG image of OpenGL drawing without a window?
(My application must be real-time 3D image generator with no GUI)
Is there any tutorial or sample source code available on this subject?
Thanks in advance.
Use a FBO (framebuffer object) to draw an offscreen image, read it back and encode it as a jpeg. You will have t create a window anyway if you want accelerated rendering, but the window may stay hidden all the time.