Forums > Jitter

changing render contexts in GL, with slab and nodes..

Aug 28 2012 | 1:57 pm

hi everybody –

i am trying to figure out how to create multiple GL nodes that can be activated/deactivated and sent to one render window..
i’m not sure the best way to do this.. can anyone help?

  1. TESTPATCH.maxpat
Aug 28 2012 | 5:31 pm

Oops, sorry, I didn’t include an important part of that test.. Now included.

  1. TESTPATCH.maxpat
Aug 28 2012 | 7:14 pm

You can use the @enable attribute for both the and to disable rendering and final display. See the patch below for how to toggle different "scenes" on and off.

-- Pasted Max Patch, click to expand. --

Aug 28 2012 | 7:59 pm

Thanks, Wesley!

Aug 28 2012 | 8:07 pm

Now, if I wanted to render these discrete sections in subpatchers, would there be a way to do that also? Or would they all require individual instances of

Aug 28 2012 | 8:20 pm

You can simply put the node, gridshape and videoplane in a subpatcher. You don’t need a gl.render except at the top level.

Aug 28 2012 | 8:56 pm

Thanks again, Wesley…I appreciate the generosity greatly..

Viewing 7 posts - 1 through 7 (of 7 total)

Forums > Jitter