Jit.gl.mesh matrixoutput ?
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!)
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.
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.