Complex UV Layout in Maya
Over the last couple of years UV layout in Maya has changed for the better. In this course we're going to be taking a look at some of those changes as we UV map an entire character
# 1 04-08-2012 , 09:42 AM
Registered User
Join Date: Jun 2008
Location: Los Angeles, CA
Posts: 229

lattice deformation issue

I have a 3x3x3 lattice encompassing a cube.

There are 2 clusters:

TopClus has 1.0 weight for all lattice verts on top, and .5 for center verts.
BottomClus has 1.0 weight for all lattice verts on bottom, and .5 for center verts.

Each cluster has its own (zeroed) spline ClusCTRL that parent constrains it.
Both controls are parented under a (zeroed) MasterCTRL spline.

while at <<0,0,0>> the MasterCTRL can be moved or rotated and the lattice will move or rotate precisely with the control. Similarly, while at origin, the ClusCTRLs can be rotated and they work predictably.

Once I move MasterCTRL off of origin, say, <<0,0,10>>, translations start doubling on the center .5 weight verts. I say this for lack of a better way to describe it... translating the CTRL works fine, but if moved, THEN when I rotate it, the weighting is off.

The attached image has MasterCTRL.Translate = <<0,0,10>> and MasterCTRL.Rotate = <<0,45,0>>

As you can see, the center verts are kinda going bonkers. If Translate = <<0,0,0>> though, it would look like an unbent block simply rotated 45 degrees on the Y axis. Unbent is the desired result.

Attached Thumbnails

--
Peter Srinivasan
Producer
# 2 04-08-2012 , 04:45 PM
Registered User
Join Date: Jun 2008
Location: Los Angeles, CA
Posts: 229
Well, I didn't have time to wait for a proper solution, so instead of weighting the lattice points I included a center cluster and weighted-parented it to the top and bottom clusters. This setup worked...


--
Peter Srinivasan
Producer
# 3 04-08-2012 , 04:52 PM
Registered User
Join Date: Jun 2008
Location: Los Angeles, CA
Posts: 229
And shows me the power of referencing, since I already had this block in two scenes, and they both updated correctly...


--
Peter Srinivasan
Producer
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads