Export image from OpenGL
Hi,
I searched in the forum but I didn't find any solution.
I'm trying to export an image 960 x 720 from OpenGL, but my texture is generated from a grabbed frame sized 320 x 240.
I pasted my example patch here
Thanks in advance
micron
your [jit.matrix SAVE] only outputs 320x240!! I don't know enough about jit.gl.slab to tell you why but I can tell you that if you put a [jit.matrix 4 char 960 720] before you go into the slab you get the right size in the SAVE matrix...
Thanks for your reply,
but I'm trying to understand why if I'm rendering on a jit.window 960 720 I can't export at the same size?
And why a jit.matrix 960 720 after jit.gl.slab doesn't work ?!?
I solved the problem using two jit.gl.render object one for the jit.window and the other for export my matrix