Sep 28 2010 | 7:09 pm
    is it possible to use a mask (an alphamask) globaly on (with slab: alphaclue or alphablend?) I have different videoplanes and need the same mask on each of them. It would be cool to mix the videoplanes together and use the mask afterwards....
    (or is it even possible to use an alphaimage on a videoplane on the upper layer and use this for masking everthing beneath?)
    Second question: is it possible to crop a liveimage (jit.qt.grab)? I only need a part of the image and since the cameraresolution is quite high, maybe it would also help the performance of my computer, if I "throw" the rest away. Or doesnt it make any difference in performance what I output ( I only mask the image), because the input is always the entire image anyway?
    Thanx for help!

    • Sep 29 2010 | 4:01 pm
      might be better to use gl.sketch to consolidate your different video planes into one pipeline and apply the mask that way..or yeah, try messing with your layers and 'blend enable' on the videoplanes
      as for cropping, have a look at jit.scissors or a more efficient but just a bit more work: jit.submatrix...if you're doing a lot of processing and don't need all of the resolution it's always best to just use what you need
    • Sep 30 2010 | 5:19 am
      you can mask an entire opengl scene if your capture that scene to a, and apply a mask to that single texture. as mentioned, will assist you in rendering your entire scene to one texture.
    • Oct 01 2010 | 11:10 am
      Thanx. Great help!