Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

can someone explain how Maya's Lattice deformer is industry standard?

11 REPLIES 11
SOLVED
Reply
Message 1 of 12
adrian_wyer
392 Views, 11 Replies

can someone explain how Maya's Lattice deformer is industry standard?

simple task, get a cube with lots of subdivisions in x

add a lattice deformer

try and replicate this shape (softimage, 5 seconds)

adrian_wyer_0-1725360067531.png

instead you get this; 

adrian_wyer_1-1725360084129.png

anyone?

the falloff in maya is just plain wrong... 

11 REPLIES 11
Message 2 of 12
brentmc
in reply to: adrian_wyer

Hi,

Did you reset the lattice settings before creating it.

I am guessing maybe local mode is disabled since it works for me with the default settings?

Brent McPherson
Principle Engineer
Message 3 of 12
adrian_wyer
in reply to: adrian_wyer

here's an example scene.... i can't get it to deform correctly even with a tool reset....

Message 4 of 12
brentmc
in reply to: adrian_wyer

Hi Adrian,

This is the attribute I was referring to and enabling it on the ffd node makes the mesh deform with the lattice.

screenshot_000353.png

Brent McPherson
Principle Engineer
Message 5 of 12
adrian_wyer
in reply to: adrian_wyer

with local on; 

adrian_wyer_0-1725377675124.png

with local turned off;

adrian_wyer_1-1725377700306.png

 

hopefully this is user error, i'd love it to work!

Message 6 of 12
brentmc
in reply to: adrian_wyer

Local Mode off seems to be the culprit. The default is on. (so this must have been toggled off in the options before creating the lattice)

From the Maya lattice docs :


Use Local Mode
Specifies whether each lattice point can influence only the deformable object’s points that are nearby (local), or can influence all the deformable object’s points. Check on or off (default is on). If on, you can specify Local Divisions.

Brent McPherson
Principle Engineer
Message 7 of 12
adrian_wyer
in reply to: adrian_wyer

ok, so with local now turned on, and the local divisions set to 3 in S (so there should be falloff between lattice control points) i get this;

adrian_wyer_0-1725382487946.png

is my maya broken? using 2023 btw

Message 8 of 12
damaggio
in reply to: brentmc

User mistake then. 👍

Message 9 of 12
adrian_wyer
in reply to: adrian_wyer

🤣not really... i would expect a smooth falloff in the deformation between lattice control points (see earlier softimage screen shot), what i get is linear fall off with 'local' turned off, or some weird ass bendy hard edged deformation that is clearly not the intention of the tool

there are plenty of subdivisions in the deformed geometry to accommodate a smooth curve deformation... the tool just isn't providing this

Message 10 of 12
jmreinhart
in reply to: adrian_wyer

jmreinhart_0-1725456016584.png

@damaggio you can get close to what @adrian_wyer is looking for by using the local settings and adding some divisions to the lattice itself, but there are definitely some artifacts at the borders of cells where the deformation is not smooth. The only way to make it smooth is to bump up the local influence and when you do that the mesh gets too flat.

jmreinhart_1-1725456719593.png

You can work around this by having a low-res lattice drive a high-res lattice, an then drive the mesh with the high res lattice. That way even with a high local influence value you still follows the zig-zags. In this particular case though a wire deformer or nonLinear deformer would be simpler.

 

So I agree with @adrian_wyer there does seem to be an issue with non-continuous deformation between cells.

Message 11 of 12
adrian_wyer
in reply to: adrian_wyer

thanks @jmreinhart thought i was missing something.... in the end i went with a wire deformer, which is much more suitable.

the problem with upping the number of divisions in the lattice to get smoother deforms, is that it kind of negates the point of a lattice... fewer points providing larger/high level deformations...  

thanks for testing tho... good to get a smarter person than me doing a sanity check! 😁

Message 12 of 12
damaggio
in reply to: jmreinhart

That's great to know, I'll keep a record of your tests. 👍

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report