How to convert objects data in jit.gl.sketch into jit.matrix?
I am quite new to max/msp and I am doing a project using kinect to load human body movement to control some moving objects which I completed by using jit.gl.sketch and js code. I want to change the 3D objects into matrix data so that I can add some effect on it like motion blurring and trails, but I am blocked at the step of changing format.
Or are there any other solutions for add effect on 3D OpenGL objects?
my patch is here
particles1.maxpat
Max Patch
your best bet is to capture the contents of your gl.sketch to texture (using gl.node) and process that texture. searching the forum and the max 6 jitter/render examples (especially gl.pix examples) should give you some good ideas.
Max Patch
Copy patch and select New From Clipboard in Max.
here's a basic patch to get you started: