kinect depth image mask

    Mar 05 2012 | 12:06 am
    I'm using alphaglue to create a mask from the Kinect's depth image and apply that mask to it's RGB image. The problem is the mask is grey, I need it to be black. I've experimented around in the cc.alphaglue.jxs file without much luck. Can anyone let me know how to do this? The patch is below.

    • Mar 05 2012 | 3:24 pm
      im not getting any grey mask. Not sure if its not working or im being an idiot
      thanks G
    • Mar 05 2012 | 6:48 pm
      The background color of OpenGL scenes are gray by default. You are seeing that color because the videoplane is transparent in the masked areas. If you'd rather see black, just change the @erase_color to 0 0 0 1
    • Aug 07 2012 | 9:09 pm
      andrew, thanks, that worked great! i didn't see your response for a long time and was searching for the answer again and stumbled across your reply to my own post. i used it in a performance, here is an image from the system.
      jobbernaul, just give a bang to the loadbang and then it should work. i don't think loadbang sends a bang when pasting the patch.