opengl to normal image (2d) ?

Feb 15, 2010 at 4:40pm

opengl to normal image (2d) ?

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?

#48504
Feb 15, 2010 at 5:12pm

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.

#174460
Feb 16, 2010 at 9:16pm

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

#174461
Feb 17, 2010 at 11:40am

ok thanx i’ll try that….

#174462

You must be logged in to reply to this topic.