[Sharing] Matrix monitor snippet

TFL's icon

TFL

9月 05 2024 | 8:45 午前

I've got this in my toolbox since a few years now, and it has been very helpful in many situations, so here is it.

matrix monitor demo.webm

"Matrix monitor" is basically a matrix/texture visualizer with both jit.pwindow and jit.cellblock (so you can see actual values), with a lot of small enhancements. You'll like it especially if you play with jit.gen or jit.gl.pix and want a comprehensive feedback of what is going on.

Full list of features:

  • Shows plane count, type, dimension and fps

  • Click in the jit.pwindow to scroll the jit.cellblock

  • Select which plane to display with comprehensive names for each channel (guess from the input type and planecount)

  • Button to enable/disable 3M (min, mean, max) report on selected plane(s)

  • Works as a workaround for the bug that would prevent jit.pwindow from displaying textures in some conditions

Beware that it is meant to be used as a temporary monitoring solution. You might not want to leave it as is in your patch especially if you send it big textures or toggle on the 3M report as it can negatively impact performance.

I hope it'll be helpful for you too!

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

I apparently cannot share .maxsnip here, so to install: copy the patch > New from clipboard > Select all > Right click > Save snippet