jit.gl.multiple position scaling

Jun 11, 2013 at 4:43am

jit.gl.multiple position scaling

Is there a way to override the “re-scaling” positions of jit.gl.multiple?

I mean, if i connect a gridshape to jit.gl.multiple, and set any scaling of that gridshape, then all the positions from jit.gl.multiple to jit.gl.gridshape will be scaled by the gridshape’s initial scale parameter…

I can override it with sending a scale matrix to jit.gl.multiple, but why if i don’t need that, just want to have small little spheres in exactly the positions of the position matrix …

<code>

– Pasted Max Patch, click to expand. –

</code>

#252393
Jun 14, 2013 at 11:52am

Hiya. This exact thing the position/scale handing w/ jit.gl.multiple *always* makes me bang my head a little. I always get it wrong every time I use it.

From what I can know…its just the way it is designed. Probably related to local OB3D coordinate system translate/scale/rotate. Personally, I leave @position and @scale untouched on the destination object and do everything w/ gl.multiple. Sometimes, I can @targetmode=1 on the gl.multiple to do what I want. Have you tried that?

Is there something that doesn’t function or you are not able to do?

#252785
Jun 15, 2013 at 5:03pm

No i can do the scaling with a matrix sent to multiple and then the position matrix’s coordinates will be untouched, but it just sounds silly to set up a scalematrix in the case if you want to have little balls scaled to 0.1 instead of 1. and then you cant do it as it will scale their positions too… and thought maybe there is a switch to turn this out :D

What targetmode do on multiple? in the help i can find no info only “Flag for draw mode. 1 = draw_raw, 0 = draw.”…

#252879

You must be logged in to reply to this topic.