How to use jit.matrix on jit.gl.videoplane

Jonathan Vallin's icon

Hi,
I'm new on jitter. I want to use different element as picture, video, matrices and render for a performance. My main problem was to switch on this different "world". So I made a jit.world waxwerk as a main projector and I thought to use jit.gl.videoplane to change from environnement. It works with render, pictures and video but now I don't know how to use a jit.matrix with jit.gl.videoplane... Here is an example of my patch. And also I was wondering how to transform the black background from my matrice to a transparent one so I can use background from an other environnement. Thank you!

jonathan

1.maxpat
Max Patch

Len Richardson's icon

Hi Jonathan,

I think the easiest way to put a jit.matrix onto a jit.gl.videoplane is via jit.gl.texture. You‘ll have to define its attribute @name and then refer to that in your jit.gl.videoplane object via @texture.