Problem with jit.gl.pass

LSka's icon

Hi all,
I was trying to work with jit.gl.pass, so I created a simple test patch with a named render context and a single jit.gl.pass, but it seems I cannot get it to work. I open the help patch and it works fine, it works also if I copy/paste it into a new patcher, but when I save the patcher and reopen it, it doesn't work anymore...
Here is a stripped-down version of the help patch: It doesn't work on my system (Max7, Mac OS 10.9), I'd like to understand if I'm doing anything wrong, or if there is some bug in jit.gl.pass.

Thank you!

Rob Ramirez's icon

hey lska. i'm happy to try and answer any questions you have on jit.gl.pass. it's new technology so there's bound to be some glitches. unfortunately your patch didn't make it in, can you try again?

LSka's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Thank you Rob, here's the patch

Rob Ramirez's icon
Max Patch
Copy patch and select New From Clipboard in Max.

you need a jit.gl.node in your patch. jit.gl.node's first arg should be the root render context. jit.gl.pass's first arg should be the jit.gl.node sub-context @name attribute. the jit.gl.videoplane should belong to the root render context, and the jit.gl.gridshape object you are processing should belong to the sub-context.

LSka's icon

Ok, thank you Rob! It seems I had just lost myself between nodes and names. Now it works.