Forums > Jitter and animation parameters control with matrices

February 25, 2014 | 6:18 am


I want to control animation parameters of individual instances of a 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, is it possible to create an inlet to send any message using a matrix, as it can be done for attributes (using 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:


— Pasted Max Patch, click to expand. —




February 25, 2014 | 10:56 am

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~

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Jitter