simple transparent background

Jan 28, 2013 at 2:37pm

simple transparent background

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

– Pasted Max Patch, click to expand. –

Thanks in advance! :)

Jan 28, 2013 at 3:01pm

you need blend_mode on and depth_buffering off, additionaly put the shape on a higher layer to get not confused with banging order…

– Pasted Max Patch, click to expand. –
Jan 28, 2013 at 5:14pm

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! :)


  1. ScreenShot20130128at17.01.32.jpg
Jan 28, 2013 at 7:15pm

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…

– Pasted Max Patch, click to expand. –
Jan 28, 2013 at 10:01pm

That is fantastic Tobiasros, thank you so much for your help! :)

Apr 9, 2013 at 6:26pm

Cheers guys…this thread really helped me out!!!!


You must be logged in to reply to this topic.