Video Grid

stanrad's icon

Hey,

I'd like to take a jit.qt.grab video input and display the output as a grid of vertical columns. (So it looks sort of like a graphic equalizer.) Also would like to adjust the width and length of each column independently. Any ideas?

symmetric-grid-bootstrap.png
png
images.jpeg
jpeg
phiol's icon

Hi Stanrad

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

something like this? (toy with the scale and offset @ttrui,s

phiol's icon

oops just realized i gave you the wrong patch

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

if possible, open this patch in max7 , cause if you're in max 6
you'll have to reset the [vec 0 0] object in the jit.gen that is under jit.noise.
reset is done by retyping one of the vec arguments.

stanrad's icon

Thanks Phiol! Its a good start. I'm running max 6. One issue I encountered was setting the erase_color argument to the jit.gl.render object causes video feedback. (For example if I want to change the background color to black instead of grey. ) I tried to put a "t b erase" object but it still didn't work.

Best,

phiol's icon

Hi Stanrad

To have a black background, do as such

[jit.gl.render @erase_color 0. 0. 0. 1.]
[jit.gl.render @erase_color 0. 0. 0. 0.04]

:-)

phiol