Overlay one videoplane on another
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.
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.
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.)
"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.
You can ignore my original comment about the @automatic attribute if you use @layer instead.
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.
interested too.
Patch? @layer doesn't work for you?
(BTW, technically you guys should start a new thread on this...)
@layer just works... fine :) (I hijacked the thread or not?!)
Ok, going to start a new thread! :)
I'm having a stupid problem. (I'm relatively new to jitter)
What I want to do is to print text on top of a movie, and display the result on jit.world.
The goal is to live score a movie. I want 2 versions of the movie displayed at the same time :
one for the audience (just the movie)
the other for live musicians (the movie + countdowns at specific tempi)
Thanks for helping !
patch 1 plays movie with text overlay
patch 2 plays same movie (from patch 1) without text
you don't specify how you planning to project to musicians/audience
Thanks a lot.
I think I never knew what jit.gl.videoplane was about, I missed that step, and also the "layer" that must be important to display a viedo "on top" on another one.
without looking at the above patches, I do want to emphasize that layer is not enough when used with jit.gl.videoplane. You must also disable depth (@depth_enable 0) and enabled blending if working with transparency (@blend_enable 1). This is why the jit.gl.layer object was created, basically a videoplane with those settings.
Here I come with another basic question.
On top of the video, I want to display a "progress bar".
How would I print this matrix on top of a texture video ?
use jit.gl.node
Thanks WIL,
it's quite difficult to understand from my point of view, I really lack some basic understanding of layers, "capture concept", and why jit.gl.node is needed.
It's working, but I have difficulties to adapt it in my main patch.
Ok. Maybe for now you do not need jit.gl.node
instead, your main video is a jit.gl.videoplane @layer 0
your progress bar is jit.gl.layer @blend_enable 0 @layer 1
if you have ONE jit.gl.videoplane @layer 0 (base layer), you can add many jit.gl.layer on top of that
jit.gl.node allows you capture many different video sources, erase the background of different layers when you put them on top, and treat multiple layers as one layer for adding effects and sizing etc... - you don't need that right now
Thanks a lot !