How do you make a quicktime file from rendered gl?

michaelpromeo's icon

Hello,
I'm hoping someone could help me with a dilemma I'm having. I'd like to use the "jit.qt.record" object in order to make a quick time file of some rendered material from a jitter example program (which I uploaded for reference). I just can't seem to figure out where that object needs to be connected to in order to record what is in the pop up window. Thank you for your time and help!

3989.Lines.maxpat
Max Patch
Rob Ramirez's icon

hello. you should check out the jit.gl.asyncread for reading gl contexts to a matrix for recording with jit.qt.record.

nnimar's icon

Also have a look at Syphon Recorder... http://syphon.v002.info/recorder/

AaronMButler's icon

Robert, I was just trying to figure out how to do this. Thanks for the info on jit.gl.asyncread!

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

Could you enlighten me as to why this isn't working? I can hook up a jit.qt.record in the help file and all works fine, but this won't.

Thanks.

FP's icon
Max Patch
Copy patch and select New From Clipboard in Max.

maybe it will help :

Rob Ramirez's icon

@AaronMButler, your issue is probably simply remedied by setting the @layer attribute of the jit.gl.asyncread to some high value (like 100).
this tells it to "draw" last (ie readback from the buffer after all other objects have drawn).

michaelpromeo's icon

Wow! Thank you so much Robert! I was able to capture the rendered material with jit.gl.asyncread.