opengl to normal image (2d) ?

JesterN's icon

Hi all, i'm trying to plot a GL scene as a normal matrix to add effects on 3d scene as images ...
basically it's the opposite that jit.gl.videoplane does...
how can i do that?

justin's icon

to be clear, u need to capture open gl scene as a (per pixel) char data matrix.

render your gl context into a named matrix (rather than a window) and apply effects from there. jit.gl.render help file should have all u need to explain how to achieve this.

Rob Ramirez's icon

another (more current) solution is to use the jit.gl.asyncread object.
may or may not be better for your situation.

JesterN's icon

ok thanx i'll try that....