Mixing geometry matrices of differing dimensions

lembert.dome's icon

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 5x5 plane, and mix it with a 20x20 plane, I would like the bump to show up only on a 5x5 part of the larger plane, so I can then move it around the plane.

Max Patch
Copy patch and select New From Clipboard in Max.

Here is an example:

Rob Ramirez's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

lembert.dome's icon

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

Max Patch
Copy patch and select New From Clipboard in Max.

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

lembert.dome's icon
Max Patch
Copy patch and select New From Clipboard in Max.

And again, but using the Shatter technique:

lembert.dome's icon

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