[PD] gemframebuffer and video OR multiple shaders

2010-02-26 Thread Ben Baker-Smith
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

Re: [PD] gemframebuffer and video OR multiple shaders

2010-02-26 Thread cyrille henry
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

Re: [PD] gemframebuffer and video OR multiple shaders

2010-02-26 Thread Ben Baker-Smith
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