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.
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
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev