Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Commit

Permalink
update rigging workflow documentation snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcampos committed Mar 17, 2021
1 parent c82126f commit 94a91d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions docs/source/official-unofficial-workflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,18 +118,20 @@ There is an autorigging utility to build the eyes and lips based on selecting ed

.. code-block:: python
from mgear import rigbits
import os
lipsConfigPath = os.path.abspath(os.path.join('YOUR PATH HERE'))
eyesConfigPath = os.path.abspath(os.path.join('YOUR PATH HERE'))
# OLD LEGACY eye_rigger and lips_rigger tool
from mgear import rigbits
rigbits.eye_rigger.eyesFromfile(eyesConfigPath)
rigbits.lips_rigger.lipsFromfile(lipsConfigPath)
# NEW "facial_rigger" module
rigbits.facial_rigger.eye_rigger.rig_from_file(eyesConfigPath)
rigbits.facial_rigger.lips_rigger.rig_from_file(lipsConfigPath)
from mgear.rigbits.facial_rigger import eye_rigger
from mgear.rigbits.facial_rigger import facial_rigger
eye_rigger.rig_from_file(eyesConfigPath)
lips_rigger.rig_from_file(lipsConfigPath)
8) That is going to load your lip rigging. AFTER you load the lip rigging, you want to load your skin weights. Make sure to run the lips rig first, and then import the skinning, otherwise the joints won't exist yet! In this pipeline, you need to think about the order that things happen.

Expand Down
2 changes: 1 addition & 1 deletion framework/rigbits

1 comment on commit 94a91d8

@miquelcampos
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

related to #16

Please sign in to comment.