Forums > Jitter

Overlay one videoplane on another

March 29, 2011 | 3:35 pm

Hi there I apologize for this noob question. I need to overlay one videoplane of an image (the foreground) (or looping video if thats easier) on top of another videoplane that is using a jit.noise matrix (background). My question is how do i go about doing this because when i look at what jit.gl.videoplane inputs its for messages only and not matrices.


March 29, 2011 | 4:43 pm

The order of operations matters. Try turning each videoplane to automatic 0, and send the one you want in the background a bang first, followed by a bang to the one in the foreground.

Please post a patch using "Select All" and "Copy Compressed" if you require more help, makes it easier for people to see what you are trying to accomplish.


March 29, 2011 | 5:09 pm

Hi ,
its (what i hope) is a simple patch in the very beginning stages so far. What i need to know is how to add something to the video planes (a video file from the hard drive and noise matrix specifically.)

– Pasted Max Patch, click to expand. –

March 30, 2011 | 1:03 am

"look at what jit.gl.videoplane inputs its for messages only and not matrices."

Not so, if you connect the jit.noise directly to the jit.videoplane it will send a matrix to the video plane. If you connect a jit.qt.movie to the videoplane you can play a video.

You do have to send a bang to the jit.noise or movie objects after the erase and before the final bang to the renderer.

Add the layer attribute to jit.gl.videoplane to dictate which order you want the videoplanes to show up, higher number is closer to the screen.


March 30, 2011 | 1:04 am

You can ignore my original comment about the @automatic attribute if you use @layer instead.


March 30, 2011 | 3:56 pm

Is it possible to have the output of a jit.gl.isosurf object, and a separate output of jit.gl.mesh contained within one jit.gl.render window?
i.e. I have a visualisation from mesh, and a visualisation from isosurf, and wish to somehow layer them together, but without one affecting the other.
Hope you can help. Thanks.


March 30, 2011 | 7:00 pm

interested too.


March 30, 2011 | 7:33 pm

Patch? @layer doesn’t work for you?

(BTW, technically you guys should start a new thread on this…)


March 30, 2011 | 7:39 pm

@layer just works… fine :) (I hijacked the thread or not?!)


March 30, 2011 | 9:58 pm

Ok, going to start a new thread! :)


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