Export image from OpenGL

    Apr 17 2011 | 8:08 pm
    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

    • Apr 17 2011 | 8:14 pm
      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...
    • Apr 17 2011 | 8:31 pm
      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 ?!?
    • Apr 18 2011 | 7:16 pm
      I solved the problem using two jit.gl.render object one for the jit.window and the other for export my matrix