jit.gl.sketch to jit.gl.slab

Feb 17, 2011 at 5:56pm

jit.gl.sketch to jit.gl.slab

Is it possible to send the image from jit.gl.sketch to a jit.gl.slab to apply a filter like blur?

Feb 17, 2011 at 9:34pm

Have a look at [jit.gl.asyncread], it captures the GL geometry into a matrix, and then you can send this matrix into the slab.

Feb 17, 2011 at 10:39pm

If you set the @capture on jit.gl.sketch to a named texture, you can capture everything that sketch draws to a texture that is then passed to jit.gl.slab. Make sure to set the dimensions of the captured texture. This is how the rendering chain in Jitter Recipe 42: RenderMaster works.



You must be logged in to reply to this topic.