different jit.gl.mesh in one screen

lazy circuit's icon

Hello!

Please help me solve one problem.

I have several patchers that render jit.gl.mesh video. Each patch renders video in its own screen.

I collect them in one common patch (each patch is a subpatcher). In the common patch, I want to run each patch (by toggle or whatewer), and for the video to switch in one common screen, and not in different ones. (As if you switch channels on the TV remote). If it is possible to switch smoothly, then it will be ideal.

Matteo Marson's icon

Hi,

you can make all jit.gl.mesh render to the same rendering context (jit.world) and enable/disable the individual jit.gl.mesh via the @enable attribute:

Max Patch
Copy patch and select New From Clipboard in Max.

lazy circuit's icon

Matteo, thanks a lot! It works!
But one more question – i have videos not only rendering by jit.gl.mesh but jit.world too. How should i have change this patch for jit.gl.mesh and jit.world in common screen?

Wil's icon

As thought but didn’t post because Matteo is correct

However

I have several patchers that render jit.gl.mesh video. Each patch renders video in its own screen.

This sounds like 3 Jit.world

I collect them in one common patch

This sounds like a 4th Jit.world ( wow! How did you do that?)

//

You should only ever have ONE Jit.world for something like this

//

Post a patch or screenshot of patches then someone can help