Hello Marcus, very interesting question.
I don’t think is possible to retrieve vertex data as direct matrices in jitter(please someone correct me if i am wrong!). There has been some discussion in how to access shader data:
You need to bind the shader to an object. Look at the next example(attached):
if you apply the binding of the shader to the jit.gl.gridshape and then turn on the matrixoutput attribute, the jit.gl.mesh stills retrieves the original data from the gridshape. The shader wouldn’t work until you bind it to the mesh object.
Another option might be to use a geometry shader:
but so far they are not supported on jitter.
Maybe someone around here knows a way to ouput matrices with bound shader data(that would be really cool!)
C74 RSS Feed | © Copyright Cycling '74