Size, distance and scale between object with jit.gl.multiple


    Apr 02 2013 | 3:32 pm
    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.
      Apr 02 2013 | 4:55 pm
    • Thanks you ! it was really a very simple problem !..
      Apr 02 2013 | 5:16 pm
    • 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?
      Sep 10 2019 | 2:01 am
    • You have to change the @glparam order in jit.gl.multiple but also the input matrices order. Using the example from the original post:
      Sep 10 2019 | 10:46 pm