How to process jit.gl.mesh in a gl-pipeline, superimpose text and send away


    Apr 26 2016 | 3:02 pm
    Hello,
    this is what have dreamt to achieve in the legacy playground with Max 6 :
    1. making a fancy from with [jit.gl.mesh] 2. process it in a gl pipeline (blur etc) 3. superimpose phrases with [jit.gl.text2d]
    If I read the forum okay, it seems to be impossible to get [jit.gl.mesh] to output its texture. And sadly, with that information my dream puffs away. But in case I wanted to insist; how you you proceed?
    My idea was to use 2 [jit.gl.node]s, the first to 'capture & route' the [jit.gl.mesh] into the 'effect slabs' and the to a [jit.gl.videoplane]: then capture that videoplane with a second [jit.gl.node], marry it with the [jit.gl.text2d] and send that composition out to the last videoplane & the syphonserver.
    Why is this not working? I suppose it has to do with improper naming the contexts ...
    Would you care to have a look and diagnose ...

    • Apr 26 2016 | 6:02 pm
      you were pretty close, but you don't need the second context. and for this kind of compositing, usually you want @depth_enable 0 and to control the order with @layer.
    • May 01 2016 | 2:11 pm
      Great. Thank you.
      Did not now that you can have 2 nodes at the same level. Now I feel the urge to get a deeper understanding of GL-issues with 'contexts', 'hierarchies', 'naming' ... Where would I want to look for that?
    • May 02 2016 | 6:05 pm
      a good place to start is the new Video And Graphics tutorials that come with Max 7. you should be able to browse the tutorials even if your version of Max isn't authorized.