Re: [GEM-dev] Depth Of Field

2009-11-09 Thread Pierre

Hi Chris
This can be done with a shader and a framebuffer.  


ok, so I'll try again using shaders
(If anyone have more infos about that, I'm listenning)

The gemwin is not the way to do it because it knows nothing of the 
geometry being rendered elsewhere in a patch.


Ok, I thought about [gemwin] because of the way we can move the 
viewpoint in the scene using [view< messages.
And camera location + camera focus managed with the same object [gemwin] 
would have been nice...

Best regards,

Pierre





___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Depth Of Field

2009-11-09 Thread chris clepper
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  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
> GEM-dev@iem.at
> http://lists.puredata.info/listinfo/gem-dev
>
___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] Depth Of Field

2009-11-09 Thread Pierre

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