On a related note, I've been hoping to find a way to add movable camera focus blur to 3-d primitives. Is there an easy way to do this with Gem?
See the example on this page: http://www.opengl.org/resources/code/samples/glut_examples/advanced/advanced.html Sam > > Message: 2 > Date: Wed, 30 Jun 2010 10:47:12 -0400 (EDT) > From: Mathieu Bouchard <ma...@artengine.ca> > Subject: Re: [PD] Blur FX on a specific area on video. > To: Olivier Baudu <lamouraupeu...@gmail.com> > Cc: PD List <pd-list@iem.at> > Message-ID: <alpine.deb.2.00.1006301030550.10...@paik.artengine.ca> > Content-Type: text/plain; charset="iso-8859-15"; Format="flowed" > > On Tue, 29 Jun 2010, Olivier Baudu wrote: > >> We want to process a blur effect on a specific area on video. >> To be clearer, we want to blur faces... >> To find faces, we use [pix_opencv_haarcascade ]... > > 1. blur the whole picture > > 2. use the output of your detector to make a mask > > 3. use the mask to "cut holes" through the normal picture, using the > blurred picture. if you were to only do [pix_texture] on the > final result, you can do [pix_texture] on both the normal and > the fully blurred image and combine them using two separate > [rectangle], an [alpha], and a [pix_alpha]. > > even though it may waste a lot of blurred pixels, at least you can do it > on all sorts of nonrectangle shapes. > > je suis pass? tr?s proche d'utiliser ?a hier, mais avec une autre sorte de > d?tection compl?tement diff?rente, en particulier parce qu'on voulait que > la zone floue soit nonrectangulaire et graduelle (un "gradient" d'alpha, > dans l'jargon). > > _ _ __ ___ _____ ________ _____________ _____________________ ... > | Mathieu Bouchard, Montr?al, Qu?bec. t?l?phone: +1.514.383.3801 > _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list