jit.gl.mesh cache_mode vertexarray and vertexbuffer
Hi,
I want to animate a mesh with a vertex shader and generate the data only once when the patcher is loaded so my jit.gl.mesh won't be updated with a jit_matrix at each frame. In openGL, I would use something like GL_STATIC_DRAW for optimisation purpose. As the mesh object is apparently designed to work dynamically with jit_matricies, i guess that this object is set on GL_DYNAMIC_DRAW by default. The @cache_mode seems to be what I am looking for, however, I didn't found any documentation about it.
Any help ?
Thanks
I'm interested too
hi guys, it looks like this feature is not currently supported in jit.gl.mesh.
i'll make a ticket to get something like this in an update.
Thanks Rob
Thanks :D