Forums > Jitter

multiple textures layering on a single jit.gl.videoplane with blend_enable 1

June 13, 2014 | 10:35 am

Hi all , this should be quick and easy.

I already (sort of ) found the solution to my problem,
but I need another method.

The patch will clearly demonstrate that
I want to layer multiple textures to a single jit.gl.videoplane.
it has a red_square frame.png image on top of a "sunset.jpb" image.

My patch will explain it better. But the problem is clearly my lack of understanding
the logics behind merging and layering multiple image inside a single jit.matrix and the use of jit.unpack. OVER using multiple planes layered one on top of another.

Thanks a lot in advance.

phiol


June 15, 2014 | 12:47 am

I found a solution using jit.gl.node @capture 1 but is there a simpler way ??
thanks everyone

phiol


June 18, 2014 | 5:26 pm
– Pasted Max Patch, click to expand. –

June 18, 2014 | 5:28 pm

This method drops out 1 jit.gl.videoplane and one jit.gl.node, hope it helps, the jit.gl.slabs aren’t necessary.


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