Procedural Animation of Human Interaction Using Inverse Kinematics and Fuzzy Logic

Procedural Animation of Human Interaction Using Inverse Kinematics and Fuzzy Logic

Procedural Animation of Human Interaction using Inverse Kinematics and Fuzzy Logic Gaetan Deglorie1, Koen Samyn2, Peter Lambert1, Rik Van de Walle1 and Sofie Van Hoecke1 1ELIS Department, Multimedia Lab, Ghent University-iMinds, Gaston Crommenlaan 8, Bus 201, B-9050 Gent, Belgium 2DAE, University College West Flanders, Ghent University Association, Botenkopersstraat 2, 8500 Kortrijk, Belgium Keywords: Procedural Animation, Multi-character Interaction, Inverse Kinematics, Fuzzy Logic. Abstract: Nowadays, animation of human interaction is predominantly modelled statically. Animations are adapted manually to each set of participating characters to ensure visual fidelity. To automate this process, we propose a novel procedural animation technique where character interactions are modelled dynamically with fuzzy logic and compare our technique to conventional inverse kinematics. The ’handshake’ interaction is used as an example interaction, in order to illustrate how basic animation rules are defined, while leaving room for parametrization of character specific properties. Our results show that, although inverse kinematics delivers higher precision in positioning than fuzzy logic, they are dependent on paths describing the motion of the final element in the kinematic chain. Fuzzy logic, on the other hand, is independent of such motion paths and solves towards the target location locally. The presented handshake model using fuzzy logic can serve as a basis for future models for virtual-human interaction. 1 INTRODUCTION using a handshake test case. The remainder of this paper is as follows. After Video games, movies and simulations often contain an overview of related work in Section 2, the method- scenes with character interaction. To create anima- ology of our approach is presented in Section 3. Sec- tions for these interactions, a large fraction of pro- tion 4 describes a case study of real-life handshakes, duction resources is spent on manually producing or as well as the concluded rules for defining the virtual recording these animations through motion capture. model. Next, in Section 5, the underlying framework Although the resulting animations do not adapt at facilitating animations of human interactions is pre- runtime without extra processing steps, this property sented. In Section 6 the model of the handshake is is highly desirable in dynamic virtual environments. described in detail. The results are presented in Sec- One approach towards adaptive animation is procedu- tion 7. Finally, the conclusions and future work are ral animation, where animations are generated algo- summarised in Section 8. rithmically. Two important problems exist for this ap- proach: (1) synchronization of separate animation se- quences of participating characters, and (2) real-time 2 RELATED WORK synthesis in order to generate animations for a specific context in a real-time environment. In this section, the state-of-the-art on procedural In this paper, we compare two procedural anima- animation and multi-character animation is reviewed. tion techniques for animating human interactions: 1. inverse kinematics, where limbs are retargeted Procedural Animation based on joint parameters obtained from kine- Multiple variants of procedural animation exist; we matic equations (Johansen, 2009) list the ones most relevant to our work. First, animation retargeting adapts an existing an- 2. fuzzy logic controllers, where the joint parameters imation to a new context or situation. E.g., the walk are locally controlled for each joint (Samyn et al., cycle of a character on a flat surface can be adapted to 2012). slanted surfaces. This technique can be implemented Both procedural animation approaches are compared using inverse kinematics (Johansen, 2009). 340 Deglorie G., Samyn K., Lambert P., Van de Walle R. and Van Hoecke S.. Procedural Animation of Human Interaction using Inverse Kinematics and Fuzzy Logic. DOI: 10.5220/0005310603400347 In Proceedings of the 10th International Conference on Computer Graphics Theory and Applications (GRAPP-2015), pages 340-347 ISBN: 978-989-758-087-1 Copyright c 2015 SCITEPRESS (Science and Technology Publications, Lda.) ProceduralAnimationofHumanInteractionusingInverseKinematicsandFuzzyLogic Second, physics-based character animation uti- through motion re-targeting. They however do not lizes real-time physics simulation to animate the deal with real-time synthesis, which will become a limbs of articulated skeletons. This way, high visual necessity with the ever increasing variation of charac- fidelity is achieved, but the animations lack the high ters in virtual environments. To solve this shortcom- level of control that is required by traditional anima- ing, a novel procedural animation technique based on tion artists (Geijtenbeek and Pronost, 2012). fuzzy logic is presented to achieve synchronization, Finally, a third approach procedurally animates adaptation and real-time synthesis. the walk cycle of a character using fuzzy logic We compare this fuzzy logic based techniques to controllers (Samyn et al., 2012). In this paper we create multi-character animation using parametriza- extend this approach to be usable for multi-character tion of procedural techniques with inverse kinematics animation. (IK). Whereas conventional IK is used to retarget ex- isting animations (Johansen, 2009), we use it to retar- Multi-character Animation get kinematic chains (i.e. the right arms of the charac- The creation of animation for multi-character interac- ters) to keyframed motion paths in order to overcome tions has been approached in literature in a number of the need for captured data. The IK controller calcu- ways. lates the joint parameters of the kinematic chain for First, a combined physics-based and data-driven each frame, based on the current path position. Con- approach creates multi-character motions from short trary to IK, the fuzzy logic approach solves towards single-character sequences (Liu et al., 2006) and de- the target location locally (i.e. considering joints in- fines the motion synthesis as a spacetime optimisation dependently) in incremental time steps and allows the problem. This method animates the approach of two use of both motion paths and static targets. hands towards each other, by iteratively drawing them Our method supports synchronization and adapta- together until convergence is reached. However, this tion. To create believable animations of human inter- solution is not suitable for real-time synthesis. actions, the individual animations of each character Secondly, Kwon models competitive interac- have to be synchronized. By constraining the end ef- tion (i.e. Taekwondo) as a dynamic Bayesian net- fectors (i.e. final joint in a kinematic chain) of mul- work (Kwon et al., 2008). It synchronizes the ani- tiple characters to the same motion path, they per- mation of multiple characters by timewarping the ap- form synchronized animations. The animation adapts propriate sequences of motion capture data. Whereas to all partaking characters by parametrizing the mo- Kwon uses multi-character motion capture, Schum tion paths and/or targets, specifically to their position, uses motion capture data of a single person (Shum dimensions and personality (i.e. dominance). et al., 2012). Here character interactions are simu- lated by expanding a game tree of possible states and evaluating these states towards the future to select the 4 CASE STUDY appropriate animation sequence. Both approaches are unable to adapt their respective animations to differ- Our animation model is based on a two-part case ent character configurations. study that captured handshake gestures between pairs A novel Laplacian motion editing method lets of people. We identify four phases within the hand- artists manipulate synchronized multi-character an- shake interaction: dummy phase (the starting subject imation through the use of synchronized motion invites the other subject to shake hands), approach paths (Kim et al., 2009). These motion paths de- phase (both hands move towards each other to initiate scribe the position of the character in space and time, the grip), shake phase (the hands move up and down) while constraint-based displacement is used to con- and retreat phase (the subjects retract their hands back strain specified limbs to a target location (e.g., char- towards their body). The different phases are dis- acters’ hands constraints when carrying a chair). played in Figure 1. to achieve synchronization, adaptation and real- In the case study, we focus on the shake phase, ex- time synthesis. amining the flow and dimensions of the shaking mo- tion and the orientation of the hands during the hand grip in particular. 3 METHODOLOGY 4.1 Shaking Motion of the Hands The state-of-the-art approaches to animate multi- ple characters mostly address issues concerning syn- The test used five test subjects (named A-B-C-D-E), chronization of individual animations and adaptation paired into three groups: (1) male A - male B, (2) fe- 341 GRAPP2015-InternationalConferenceonComputerGraphicsTheoryandApplications joined hands stay in line with both (right) elbows, i.e. the handshake grip and elbows create an initial plane perpendicular to the floor, in which the entire shake phase occurs. Second, on average the point of contact is centred in between the subjects. Slight deviations can occur as a result of difference in arm length (group male-male), subject position or dom- (a) Dummy (b) Approach inance between subjects. We infer dominance of a person from the rule that

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us