jit.gl.pix bypass best practice ?

Julien Bayle's icon

Julien Bayle

3月 29 2019 | 9:11 午前

Hi there,

I have some jit.gl.pix in my master video output processing stages.

What is the best way (performance wise) to bypass them ?

This one with a [gate] inside the gl.pix itself ?

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


Or that one with a [gate] outside of it and by disabling the gl.pix itself ?

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


tmhglnd's icon

tmhglnd

3月 29 2019 | 11:04 午後

I always use your second suggestion (so [gate 2] combined with (enable $1) message to the jit.gl.pix). I found that easiest to abstract away and combine it with all gl.pix/slab objects. Don't know if performance-wise it makes a lot of difference.

Javi Riverola's icon

Javi Riverola

7月 06 2020 | 10:09 午前

Hi @julien bayle , I'm looking also after the perfect way to bypass certain gl.pix effects on my master chain.
I was very inspired by your forum post in which you showed your master chain with the different gl pix ( brcosa, flasher 2 .. ) and 4 meshes being affected.
I'm replicating more or less your general structure, but let's say you have 3 or 4 gl.pix effects and want to enable them or disable them individually with a toggle.
For example that was your patch:

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

How would you add a toggle on every individual gl.pix, so it's easy to enable one, two, both while having a good flow.

Thanks!
great work by the way, I follow you on different socials and I really like what you do.

tmhglnd's icon

tmhglnd

7月 06 2020 | 10:26 午前

I would use a [matrixctrl] or a [radiogroup] in checkbox mode. With radiogroup you can unjoin to toggle individual gates. With matrixctrl you can use [route].

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

Javi Riverola's icon

Javi Riverola

7月 06 2020 | 10:29 午前

Hi Timo! Thanks! I like your approach, and would use it.
But still have the need to organize how the individual toggles are connected to gl pix with the switches and the overall flow.
Could you build your solution on top of the patch I sent to enable/disable the gl pix? That's where I have the problem
Thanks!

Javi Riverola's icon

Javi Riverola

7月 06 2020 | 3:59 午後

Let me be a bit more clear, I want to have different jit gl pix processors and enable them individually in the most elegant way possible.
This doesn't 'work' as it's chosing or the "clean" path or the all "effected" path.
I would like to have one toggle for the wake fx , another one for the flasher, and so on..


Thanks!

Julien Bayle's icon

Julien Bayle

7月 06 2020 | 4:31 午後

hi there, I ended up, one year ago, with a bypass inside the jit.gl.pix by using ternary operator.

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


But this one ones works fine too and I like to directly disable the gl object like that. But for a process chain, it is easiest to use the first way, I think.


Javi Riverola's icon

Javi Riverola

7月 06 2020 | 5:16 午後

The first solution is so clean, I like it, and for my use case is perfect.
Thanks!!

Javi Riverola's icon

Javi Riverola

7月 06 2020 | 5:42 午後

Hi Julien, tried the solution but i think only works with custom made jit.gl.pix processors ( like your flasher ) . Do you think it's posible with max processors such as wake.genjit? When i do try the gen environment is blocked.

I ended up with something like this, doesn't seem very elegant though...

Julien Bayle's icon

Julien Bayle

7月 06 2020 | 5:55 午後

using @gen <something> arguments recall a previously stored gen patcher as an abstraction.
this is the "problem" here.

Rob Ramirez's icon

Rob Ramirez

7月 07 2020 | 3:09 午後

FWIW, a bypass attribute for jit.gl.slab/jit.gl.pix is a long standing feature request that I hope to implement for the next update.

Javi Riverola's icon

Javi Riverola

7月 07 2020 | 3:49 午後

That would be awesome, thanks

Julien Bayle's icon

Julien Bayle

7月 08 2020 | 7:34 午前

Gosh, Rob !
That would be magic.

I candidely thought send enable 0 to a jit.gl.pix was enough.

Roman Thilenius's icon

Roman Thilenius

7月 08 2020 | 8:46 午後


amazing what people can do all only to avoid [gate 2]

Julien Bayle's icon

Julien Bayle

2月 28 2023 | 4:25 午後

Just retrieved this post while I was looking for my later one about bypass.
Rob, is there now a built-in bypass?

Herr Markant's icon

Herr Markant

3月 04 2023 | 3:19 午前

+1
this would be amazing!

Wil's icon

Wil

12月 02 2023 | 1:34 午前

Just passing by -
maybe y'all noticed av-toolbox in package manager