jit.gl.gridshape matrixoutput with js ?

livemax's icon

How to get the jit.gl.gridshape outputmatrix data into a new matrix with javascript ?

1、gridshape.matrixcalc(newMatrix,newMatrix);??
2、newMatrix.frommatrix(gridshape); ? ?

Rob Ramirez's icon

this functionality is currently unsupported.
i can look in the feasibility of supporting this for a future update.

livemax's icon

Can you come up with other ways to solve the questions under javascript....

Rob Ramirez's icon

there's only so many shapes available to the gridshape.
can you not simply create a patch that at initialization time outputs gl.gridshape matrices into a JS that stores them in a matrix array?

they can then be accessed however you like as JS jit-matrices.

if this is not helpful, please elaborate more on what you are trying to do.

livemax's icon

Sorry about my English.

I drawing a graphic by jit.gl.sketch .then i want to store it into a matrix 12 planes .and the matrix outlet connect to

jit.gl.mesh.

How could i store the sketch as a matrix data ?

Rob Ramirez's icon

jit.gl.sketch does not support matrixoutput.

what are you drawing with jit.gl.sketch and why do you want it drawn with jit.gl.mesh?

livemax's icon

The problem has been the outcome!

I drew a graphic with js. and store it into matrix as a jxf file . Connect to jit.gl.mesh.

Thank you Robert Ramirez !