Multilayer Point Transform

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
WargaNetLife
Posts: 16
Joined: Mon Apr 26, 2021 6:58 pm
Location: Indonesia
Contact:

Multilayer Point Transform

Post by WargaNetLife »

Does anyone know how to transform points on a multi layer. Previously I had tried the multilayer magnet script but it couldn't be used with precision if it moved several points. Maybe someone has a solution for that?
Arby D.K.
Creator - WargaNet Life - Naya & Loli
User avatar
Greenlaw
Posts: 10439
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Multilayer Point Transform

Post by Greenlaw »

I think the multi-layer Magnet is the only way. Without seeing an example, I can guess a couple of things that might affect its performance...

1. Check the tool's Radius setting. The tool has a fall-off so if the graphics points are limited, you may see what appears to be irregular movement. Increasing the radius should solve that.

2. Make sure your geometry supports the type of deformation you're trying to achieve. You might need to add more points to the curves to get them to deform predictably. Sticking to regular points vs. Bezier points can also have an impact.

I hadn't noticed a problem with the multi-layer tool mod but it's been a while since I last used it. When I get a chance to check it (maybe this evening after work,) and let you know what I find here. (I'm assuming you're using A.Evseeva's mod.)

BTW, there's another Magnet mod by DKWRoot that allows you to switch between different fall-off modes like smooth, linear, spherical, etc. Unfortunately, this is a single layer tool. It would be cool if A.Evseeva could update their script to have similar fall-off options.

Actually, there are some workarounds without using a multi-layer magnet that I can think of...

1. One workaround would be to copy all the vectors to one layer, use the standard Magnet on them, and then send the modified curves back to their individual layers. If this sounds too clunky for you...

2. ...another workaround is to have all the shapes in one layer and then reference that layer for each additional layer you need. You can delete the unwanted shapes from each layer but keep the curves (i.e., the non-rendering 'wireframes'.) Now when you use the Magnet tool on the curves in the original layer, the shapes in the other layers will all update as if you used the Magnet tool there. This is probably the most reliable way to do this without using a multi-layer magnet.

Hope this helps.
User avatar
Greenlaw
Posts: 10439
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Multilayer Point Transform

Post by Greenlaw »

Update: I just did a quick test of method #2; this method should work well for animation too.

Tip: I typically give my reference layers a red color and add REF to the layer name, and clearly mark the original ORIGINAL. This helps keeps me from accidentally editing the reference layers when I only wish to edit the original.
velu
Posts: 47
Joined: Sun Jun 22, 2008 10:52 am
Location: India - Chennai
Contact:

Re: Multilayer Point Transform

Post by velu »

I love Moho
User avatar
Greenlaw
Posts: 10439
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Multilayer Point Transform

Post by Greenlaw »

That's awesome! Can't wait to try it today. 😸
User avatar
MrMiracle77
Posts: 189
Joined: Mon Jun 24, 2019 2:30 am

Re: Multilayer Point Transform

Post by MrMiracle77 »

I've had some luck with precise point transformations across multiple layers using the numerical tools at the top of the preview pane instead of click-and-drag. You still have to work layers one at a time, and you have to be sure the layers themselves have been transformed the same way (point transformation distances vary by how much the layer has been scaled). It's not perfect, but it's surprisingly precise.
- Dave

(As Your GM)
Post Reply