This can be done with a shader and a framebuffer. The gemwin is not the way to do it because it knows nothing of the geometry being rendered elsewhere in a patch.
On Mon, Nov 9, 2009 at 6:43 AM, Pierre <[email protected]> wrote: > Hi, > Something I would add to G.E.M. is the "Depth Of Field" effect. > Someone asked this last year on pd-list without succes/response : > http://lists.puredata.info/pipermail/pd-list/2008-10/065649.html > > Adding something like a 'focus' parameter to [gemwin] would be very nice. > Maybe it could be done using GLSL or [GEMglAccum] (*) but, until now, all > my searches and tests have failed... > > Any ideas on how to do that ? > I can code a bit a opengl/c, but I have poor skills... > So any help, link or idea is welcome ! > > Best regards, > Pierre > > (*) http://www.opengl.org/sdk/docs/man/xhtml/glAccum.xml > (*) http://www.opengl.org/resources/code/samples/redbook/dof.c > > > > _______________________________________________ > GEM-dev mailing list > [email protected] > http://lists.puredata.info/listinfo/gem-dev >
_______________________________________________ GEM-dev mailing list [email protected] http://lists.puredata.info/listinfo/gem-dev
