Forums > Gen

Mixing geometry matrices of differing dimensions

May 8, 2012 | 3:16 am

How can I mix two geometry matrices of differing dimensions, having the smaller matrix only affect a proportionately smaller part of the larger?

Specifically, if I create a "bump" in the z-plane of a 5×5 plane, and mix it with a 20×20 plane, I would like the bump to show up only on a 5×5 part of the larger plane, so I can then move it around the plane.

Here is an example:

– Pasted Max Patch, click to expand. –

May 8, 2012 | 7:21 pm

you probably want to make use of @srcdimstart/end attributes.

– Pasted Max Patch, click to expand. –

May 8, 2012 | 9:13 pm

Perfect! Thank you very much! I knew it had to be some simple matrix attribute.

For anyone who wants to see a way of using this, here is the same patch with some animation:

– Pasted Max Patch, click to expand. –

May 9, 2012 | 2:34 am

And again, but using the Shatter technique:

– Pasted Max Patch, click to expand. –

May 9, 2012 | 3:56 am

I’ll keep that in mind. On a related topic: has anyone created a Max AdBot object yet?


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