output git.gl.gridshape to jit.vcr

Andy Turner's icon

hello.    i would like to be able to output a git.gl.gridshape to a jit.vcr to record audio and 3d shapes into a quicktime movie.   However, i just have a rainbow grid, not the rotating 3d cube that shows (when not enabling the message: matrixoutput with "1" as a parameter).

i think i misunderstand the type of data coming out of git.gl.gridshape, and the type that jit.vcr expects, but i don't know why i have the misunderstanding after reading the tutorials.

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

can anyone help with the below compressed code?  (the mix.aif can be switched out with any audio file as you know).

dtr's icon

Your copy-compressed action didn't quite work as expected ;)

But I can already tell you that gridshape outputs geometry data, not a rendered image. You could look at jit.gl.node with @capture 1 to do what you want.

Rob Ramirez's icon

or jit.gl.asyncread

Andy Turner's icon

i tried both of those but am uncertain why it doesn't work when i try either of your suggestions.

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

here's another attempt at copying the compressed code. Can you let me know what needs to be connected to what? (regarding the jit.gl.node or jit.gl.asyncread)?

Andy Turner's icon

nevermind, after some reading i figured out how to use jit.gl.asyncread. thank you!