Size, distance and scale between object with jit.gl.multiple
Hello everyone.
I search desperatly a solution for change the size of a mesh duplicate with jit.gl.multiple. My probleme is that i can't change the size of the target object without change the distance between objects.
I want use two variable, one for the size of objects and on another for the distance betwenn objects.
How make to change size of objects without change the distance between objects ?
here a little exemple if someone can look !...
thanks
you simply need to change the order of your gl.multiple glparams list, to "position rotatexyz scale"
this will apply the scaling after the translation, which is what you want.
Thanks you ! it was really a very simple problem !..
Six years later, I am trying this and changing the gl param order seems to have no effect.
I see many other forum threads on how it's not possible to change position/scale independently with jit.gl.multiple
Is that really the case?
You have to change the @glparam order in jit.gl.multiple but also the input matrices order.
Using the example from the original post: