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

Apr 2, 2013 at 3:32pm

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 !…

– Pasted Max Patch, click to expand. –

thanks

#67461
Apr 2, 2013 at 4:55pm

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.

#242693
Apr 2, 2013 at 5:16pm

Thanks you ! it was really a very simple problem !..

#242694

You must be logged in to reply to this topic.