layering


    Dec 14 2009 | 11:46 pm
    hi
    bit stuck on what I'm pretty sure is a small problem, I'm just trying to layer some particles in front of a videoplane. Usually I'd use @layer but since the particles render straight to the jit.gl.render I'm unsure how this should be done. Can you use two jit.gl.render object per jit.windeow? Does @layer work in jit.gl.render? Below is what I have so far.
    Thanks in advance Garrett

    • Dec 15 2009 | 12:04 am
      you can use a jit.gl.mesh instead of gl.render to draw your particle triangles. just set @draw_mode triangles, and send the particle matrix to the left-most inlet of gl.mesh. @layer will work fine in this case.
    • Dec 15 2009 | 7:43 pm
      Great, I was thinking I needed to render it to something but I had no idea what. Thanks for your help Robtherich.
      Garrett