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?

    • Aug 28 2012 | 5:31 pm
      Oops, sorry, I didn't include an important part of that test.. Now included.
    • Aug 28 2012 | 7:14 pm
      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.
    • 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 jit.gl.render?
    • 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..