Forums > Jitter

Jitter jit.gl.render and background question

June 16, 2014 | 3:41 pm

I have a unusual question. I am using QC to webkit images from a webpage that is montaging images in real-time scraping them from tumblr blogs via the tumblr API. i am then using the montage as a texture on jit.gl.gridshapes via Qc->Syphon->jitter.
What i want to do is include a video mixer of two folders full of quicktime movies which are being VJ mixed via a simple A/B video mixer type deal. I would like to have the A/B mix be the "background/backdrop" and the texturized gridshapes move in front of the backdrop but not be effected by the textures. I would like in z-axis terms it to be

0. A/b video mixer output on layer zero
1.) jit.gl.gridshapes on layer (1)
2.) another jit.gl.gridshape on a layer (2)

where 0 is behind everything and the shapes are in front of them.

Can someone suggest how i can layer this or create it in Jitter so the layers are separate from each other and the background is fixed and doe snot move with the shapes of gets their textures?

i would really appreciate any help or suggestions!

thank you

Patrick


June 17, 2014 | 12:23 pm

found the answer @inhert_transform


June 18, 2014 | 9:17 am

not sure about your patch, so inherit_transform may work fine for your needs.
the conventional solution is to use jit.gl.videoplane @depth_enable 0 @transform_reset 2 @layer -100
this will allow the videoplane to be behind any other gl.objects (as long as their layer attribute is higher than -100, which it is by default)

tranform_reset simply tells the videoplane to fill up the window.


June 18, 2014 | 1:57 pm

Rob, thanks very much. We were finding it a little difficult but it was sort of workaround with the inhert_transform. I will try your suggestion straight away. TY.

Patrick


Viewing 4 posts - 1 through 4 (of 4 total)