[PD] gemframebuffer and video OR multiple shaders

Ben Baker-Smith bbakersmith at gmail.com
Fri Feb 26 20:06:23 CET 2010


Thanks so much! [translateXYZ 0 0 -4] is just what I needed. I realize
now that last time I needed to use [gemframebuffer] I went through
this same period of confusion.

Can someone update the [gemframebuffer] help patch to explain this anomaly?

-Ben

On Fri, Feb 26, 2010 at 12:37 PM, cyrille henry <ch at chnry.net> wrote:
> hello,
>
> you have to use frambuffer in order to chain multiple shader.
> there are example for this in the glsl section of Gem help.
>
> the most common problem with gemframbuffer is that you need to add a
> translateXYZ 0 0 -4 after the gemhead in order to have the same vision point
> than without the frambuffer.
>
> Cyrille
>
>
> Ben Baker-Smith a écrit :
>>
>> Hello,
>>
>> I'm working on porting Andrew Benson's optical flow glsl shaders over
>> to PD. I've got the primary shader working, but need to send the
>> output to the second shader. I figured that the best way to deal with
>> this would be to use [gemframebuffer] to send the results of my first
>> chain (including [pix_video] and the first shader) to a second chain
>> to be processed with the second shader.
>>
>> My first problem is that I cannot seem to get [gemframebuffer] to work
>> with [pix_video] or with [pix_film] for that matter. Is this the
>> appropriate tool?
>>
>> Alternately, if someone knows how to use multiple shaders in the same
>> render chain then I wouldn't have to use [gemframebuffer] at all.
>>
>> -Ben
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>




More information about the Pd-list mailing list