Forums > MaxMSP

Jit.gl.mesh matrixoutput ?

February 21, 2012 | 5:43 am

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!)


February 21, 2012 | 8:05 pm

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.


February 22, 2012 | 7:45 am

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.

Attachments:
  1. Ambiworld.maxpat

February 22, 2012 | 7:48 am

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)


February 22, 2012 | 11:03 pm

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.

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

– Pasted Max Patch, click to expand. –

Viewing 5 posts - 1 through 5 (of 5 total)