Difference between revisions of "IC Python API:Hand Gestures Puppeteering"
From Reallusion Wiki!
Chuck (RL) (Talk | contribs) (Created page with "__NOTOC__ {{Parent|IC_Python_API:RL_Python_Samples|RL Python Samples}} ==Hand Gestures Puppeteering== {{#evt: service=youtube |id=https://www.youtube.com/watch?v=qoc00QhhL4E...") |
Chuck (RL) (Talk | contribs) m |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | {{Parent|IC_Python_API | + | {{Parent|IC_Python_API#Various_Lessons|Various Lessons}} |
==Hand Gestures Puppeteering== | ==Hand Gestures Puppeteering== |
Revision as of 19:40, 19 October 2020
- Main article: Various Lessons.
Hand Gestures Puppeteering
The ability to customize and create new tools to facilitate character animation is one of the main draws of the iClone Python API. This example demonstrates the use of an intuitive graphical user interface to drive the hand gestures of a character. Once the script is applied, a Hand Gestures Puppeteering dialog window will appear with 6 quadrant gesture controls. The user can drag the dot within the interface to blend the hand gestures in midst of the 6 quadrants making for a smooth transition every time.
Convenient hotkeys are provided so the mouse can remain pre-occupied with controlling the blend position:
- [P] starts and stops the preview mode. Under this mode, the user can test out various blend styles without having to actually record the motion into the timeline.
- [Space] starts and stops the recording. Use this to record the motions to the timeline to preserve it for playback.
- [B] for switching between the two blend modes, see below for more information.
Two blending options are available:
- 2-Point Blend allows for blending of the nearest two points to the control point.
- Multi-Point Blend allows for blending of all 6 quadrants from any position within the control wheel.
You Will Learn How to
- Simulate Mocap device to control Character motion.
- Create UI using QML.
Required Files
- Hand Gestures Python script -included in Python samples (main.py)
- Hand Rig Python script (handrigger.py)
- User interface Python script (KeyData.py)
- Bone data required by the hand rigger script (BoneData.py)
- User interface markup language file for QT (resource/qml folder)
Steps to take:
- Inside iClone, load a standard or non-standard character.
- Initiate the Hand Gestures Puppeteering script (Plugins > Python Samples > Hand Gestures Puppeteering).
- Press [P] to start the preview process; Which does not record actual animation.
- Drag the dot within the Hand Gestures Puppeteering window and watch as the hands begin to move and blend between the 6 different poses.
- Switch between 2-Point and Multi-Point Blend to try out the different blending options by pressing [B] so you won't need to let go of the mouse button.
- Hit the space-bar at any point to start recording the animation in the timeline.
- Finish the recording by pressing the space-bar again and play the timeline to review the recorded animation.