Jit.gl.mesh matrixoutput ?

ArturMihel's icon

In Jit.gl.mesh matrixoutput does not work, but it is somewhat insulting) I would like to use it for matrix transformations using GL (sending to the input matrix and the output is the transformed matrix, where matrixoutput with transform fishing is on). Do not plan to include matrixoutput in Jit.gl.mesh? or what I say can be done in another way (through GL)? Thanks a lot!)

Rob Ramirez's icon

hi ArturMihel. yes matrixoutput is not enabled for jit.gl.mesh.

we've considered developing an object to perform 3D transformations on a matrix of position data.
can you post a patch showing what you are trying to achieve, and we'll be able to either point you in the right direction, or use it as inspiration for this functionality?

thanks.

ArturMihel's icon

I've already done what he wanted by jit.gl.nurbs, but I think so wasted resources on interpolation. There are a few questions, maybe this bug? please check.

3409.Ambiworld.maxpat
Max Patch
ArturMihel's icon

below the patch which is represented as I see it. But it would be good if there was a special object to this. Thank you very much for your attention)

3410.Ambiworldmesh.maxpat
Max Patch
Rob Ramirez's icon

the following patch should be what you need.
you don't need an intermediary gl.mesh, instead you can use a jit.anim.node as a parent to both the gl.multiple, and another jit.anim.node. the child jit.anim.node get's it's position set each frame to each of the cells of the matrix, updates itself, and outputs it's world position (which will include any transforms set by the parent node).

keep in mind that this does not take into account the position of the camera.

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

let me know if you have any questions with this technique.