simple transparent background

    Jan 28 2013 | 2:37 pm
    Hello all, I'm trying to do something pretty simple in Jitter and need a little help. I am tracking my head with the Kinect and I want the coordinates of my head to dictate the dimensions of the circle, when I get closer it grows, further away it shrinks, up, down, left, right as you would expect - that bit I've achieved. I now want the circle to be overlaid over the original video so that it covers my head but you can still see my body and the rest of the video feed from the kinect- this I need help with. At the moments the circle is being made using but when it gets rendered with it has a black background - how can I get rid of this?
    Heres where I am at the moment
    Thanks in advance! :)

    • Jan 28 2013 | 3:01 pm
      you need blend_mode on and depth_buffering off, additionaly put the shape on a higher layer to get not confused with banging order...
    • Jan 28 2013 | 5:14 pm
      Thats great, thanks ever so much Tobiasros. Just a couple of things, firstly something odd has happened to the dimensions of the pwindow. After applying your changes the video output has been squashed along the x plane leaving black bars along the sides (see picture). Also is there any way of reapplying the alpha channel you removed so that I can see ghost trails behind the moving dots? Thanks for your help! :)
    • Jan 28 2013 | 7:15 pm
      you can set the videoplane to Transform_reset 2, then it adapts its size to your window. regarding the trails, here a quick way with two render contextes...
    • Jan 28 2013 | 10:01 pm
      That is fantastic Tobiasros, thank you so much for your help! :)
    • Apr 09 2013 | 6:26 pm
      Cheers guys...this thread really helped me out!!!!