changing render contexts in GL, with slab and nodes..
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?
Oops, sorry, I didn't include an important part of that test.. Now included.
You can use the @enable attribute for both the jit.gl.node and jit.gl.videoplane to disable rendering and final display. See the patch below for how to toggle different "scenes" on and off.
Thanks, Wesley!
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 jit.gl.render?
You can simply put the node, gridshape and videoplane in a subpatcher. You don't need a gl.render except at the top level.
Thanks again, Wesley...I appreciate the generosity greatly..