I can't post my entire patch because it is getting pretty huge, but here's what I'd like to do:
I would like to take all the main rendering context on a opengl scene and duplicate it in two other jit.gl.renders (and windows) for further processing through slabs.
Until now I've been successful by using jit.gl.asyncread to copy the main render to a texture, but the frame rate is low because of the GPU -> CPU -> GPU passage.
I've using jit.gl.sketch and @capture attribute, and the capture works only if I draw the resulting texture on the main context, if I try to read the texture from a different context it does nothing. So I tried sharing the texture with the @shared_context attribute, but it doesn't work on my windows machine (a bug?).
I've tried each and every example related to @shared_context on the forum, but no one of them works on my brand new windows 7 machine with an ATI 5750 card.
Is there a solution? Any example that surely works on a windows pc?
I'm pretty disappointed since the windows version of MaxMSP is giving me a lot of trouble implementing few simple tasks. I expect a $699.00 software to be more reliable.