Adding Multiple Shapes to a Matrix

Alexander Karan's icon

I fairly new to the Jitter side of Max. I want to several small cubes to jit.pwindow that also has a feed coming from a web came, i can create the cubes and also the camera feed but can't combine them?

Shape.maxpat
Max Patch
Shape1.maxpat
Max Patch
Rob Ramirez's icon

jit.gl.videoplane @depth_enable 0 @layer -100 @transform_reset 2

depth_enable and layer makes it stay behind all other gl shapes, transform_reset makes it fill up the window.

also check out jit.gl.multiple to manage multiple instances of gl shapes using matrices.

Alexander Karan's icon

Thank you for the help.

I got get the cubes to sit where i want in the window for example at the bottom in a row, also how to i add the git.gl.multiple in as when i add it the cube disappear?

This is what i am putting in to tell the cubes where to be

jit.gl.plato plato-ctx @color 1. 0.8 0.6 1. @scale 0.2 0.2 0.2 @lighting_enable 1 @axes25/25/39