Mixing geometry matrices of differing dimensions

May 8, 2012 at 3:16am

Mixing geometry matrices of differing dimensions

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. –
#63479
May 8, 2012 at 7:21pm

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

– Pasted Max Patch, click to expand. –
#228862
May 8, 2012 at 9:13pm

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. –
#228863
May 9, 2012 at 2:34am

And again, but using the Shatter technique:

– Pasted Max Patch, click to expand. –
#228864
May 9, 2012 at 3:56am

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

#228865

You must be logged in to reply to this topic.