jit.gl.multiple and jit.gl.model animation parameters control with matrices
Hello,
I want to control animation parameters of individual instances of a jit.gl.multiple of model.
Is there a way to declare the following parameters (in fact messages) in gl_params, in order to control them with matrices: animenable, animloop, animlooppoints, animrate, animtime, animweight ?
More generally, within jit.gl.multiple, is it possible to create an inlet to send any message using a matrix, as it can be done for attributes (using attr.xxx) and shader parameters (using shader.xxxx)?
If it's not possible, I think this could be considered as a feature request.
The following exemple do not work:
Thanks,
Jean-Michel
hello jean-michel.
this is not currently possible, and is not really in the scope of gl.multiple.
gl.multiple is ideal for multiple instances because it does not make multiple copies of the object, but instead draws a single object multiple times per frame.
in order to fulfill your request, there would need to be multiple copies of the gl.model, and efficiency gains would be lost.
your best bet is to create something with JS or poly~