jit.gl.sketch to jit.gl.slab

Feb 17, 2011 at 5:56pm

jit.gl.sketch to jit.gl.slab

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

#55022
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.

#198121
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.

http://cycling74.com/2010/9/13/jitter-recipes-book-3/

#198122

You must be logged in to reply to this topic.