Creating the denormalized_skin context manager

In this and proceeding sections, we'll build a context manager that will temporarily denormalize a skin cluster.

Most skin clusters are normalized and support a limited number of influences. A skin is normalized when the sum of all influence weights equals 1.0 for each vertex. This ensures the skin deforms in a predictable way. Limiting the number of vertex influences is generally useful when doing things like painting skin weights. It can also be a technical constraint (for example in the case of many video games), or a useful way to simplify the skinning process (you don't need to worry about culling low influences repeatedly).

Even though normalized skin and limited influences are useful for interactive ...

Get Practical Maya Programming with Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.