Design and Implementation of Motion Synthesis System Based on Support Phase Quan Yu.

Slides:



Advertisements
Similar presentations
Animation in Video Games presented by Jason Gregory
Advertisements

Hierarchical Transformation. Summary Alternatively, OpenGL thinks: A transformation updates the coordinate system. For each change, the transformation.
Animating Speed Position and Orientation Presented by Kailash Sawant Hemanth Krishnamachari.
GRAPP, Lisbon, February 2009 University of Ioannina Skeleton-based Rigid Skinning for Character Animation Andreas Vasilakis and Ioannis Fudos Department.
LOCOMOTION IN INTERACTIVE ENVIRONMENTS Navjot Garg.
Verbs and Adverbs: Multidimensional Motion Interpolation Using Radial Basis Functions Presented by Sean Jellish Charles Rose Michael F. Cohen Bobby Bodenheimer.
1 Characters. 2Introduction The Characters are the Actors of the Games. The Characters are the Actors of the Games. Three Types of Characters : Three.
Animation Following “Advanced Animation and Rendering Techniques” (chapter 15+16) By Agata Przybyszewska.
Automating Graph-Based Motion Synthesis Lucas Kovar Michael Gleicher University of Wisconsin-Madison.
3D Graphics for Game Programming (J. Han) Chapter XI Character Animation.
A Momentum-based Bipedal Balance Controller Yuting Ye May 10, 2006.
Animation from BVH Andrew Slatton. Biovision Hierarchy (BVH) Contains motion capture data 2 Major Components: –Hierarchy Formatted like a scene graph.
Chapter 4: IMD Chapter 4: Character Animation Character Animation 1 Lecturer: Norhayati Mohd Amin.
1Notes  Handing assignment 0 back (at the front of the room)  Read the newsgroup!  Planning to put 16mm films on the web soon (possibly tomorrow)
Introduction to Data-driven Animation Jinxiang Chai Computer Science and Engineering Texas A&M University.
Motion Editing and Retargetting Jinxiang Chai. Outline Motion editing [video, click here]here Motion retargeting [video, click here]here.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 24: Motion Capture Ravi Ramamoorthi Most slides courtesy.
A Data-Driven Approach to Quantifying Natural Human Motion SIGGRAPH ’ 05 Liu Ren, Alton Patrick, Alexei A. Efros, Jassica K. Hodgins, and James M. Rehg.
Animating reactive motion using momentum-based inverse kinematics CASA 2005.
Assignment 2 Motion Graph Date: 2006/10/24 TA: 彭任右 EC 229B Ext:
Motion Planning for Legged Robots on Varied Terrain Kris Hauser, Timothy Bretl, Jean-Claude Latombe Kensuke Harada, Brian Wilcox Presented By Derek Chan.
1cs426-winter-2008 Notes  Collision notes part 1 (primitive operations) should be up on the weekend.
Kinematics. ILE5030 Computer Animation and Special Effects2 Kinematics The branch of mechanics concerned with the motions of objects without regard to.
CS274 Spring 01 Lecture 5 Copyright © Mark Meyer Lecture V Higher Level Motion Control CS274: Computer Animation and Simulation.
Dynamic Response for Motion Capture Animation Victor B. Zordan Anna Majkowska Bill Chiu Matthew Fast Riverside Graphics Lab University of California, Riverside.
Midterm Review CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2004.
A Coherent Locomotion Engine Extrapolating Beyond Experimental Data SCA ’ 04 Speaker: Alvin Data: January 3, 2005.
Week 4 Lecture 3: Character Animation Based on Interactive Computer Graphics (Angel) - Chapter 10 1 Angel: Interactive Computer Graphics 5E © Addison-Wesley.
Algirdas Beinaravičius Gediminas Mazrimas.  Introduction  Motion capture and motion data  Used techniques  Animating human body  Problems  Conclusion.
Algirdas Beinaravičius Gediminas Mazrimas.  Introduction  Motion capture and motion data  Used techniques  Animating human body  Problems.
Algirdas Beinaravičius Gediminas Mazrimas.  Introduction  Motion capture and motion data  Used techniques  Animating human body  Problems  Conclusion.
Characters.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Kinematic Linkages.
BIPEDAL LOCOMOTION Prima Parte Antonio D'Angelo.
Week 5 - Wednesday.  What did we talk about last time?  Project 2  Normal transforms  Euler angles  Quaternions.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Kinematic Linkages.
Automated Construction of Parameterized Motions Lucas Kovar Michael Gleicher University of Wisconsin-Madison.
Character Animation. Contents Keyframe animation Mocap Smooth skin by vertex blending Rigging & retargeting Gait analysis (Ragdoll physics) Fall
Recognition, Analysis and Synthesis of Gesture Expressivity George Caridakis IVML-ICCS.
Jinxiang Chai CSCE441: Computer Graphics 3D Transformations 0.
Jinxiang Chai Composite Transformations and Forward Kinematics 0.
Algirdas Beinaravičius Gediminas Mazrimas.  Introduction  Motion capture and motion data  Used techniques  Animating human body  Problems  Conclusion.
Yoonsang Lee Sungeun Kim Jehee Lee Seoul National University Data-Driven Biped Control.
Algirdas Beinaravičius Gediminas Mazrimas.  Introduction  Motion capture and motion data  Used techniques  Animating human body  Problems  Conclusion.
1cs426-winter-2008 Notes  Will add references to splines on web page.
CS-378: Game Technology Lecture #15.5: Physically Based Simulation Prof. Okan Arikan University of Texas, Austin Thanks to James O’Brien, Steve Chenney,
CS 450: COMPUTER GRAPHICS ANIMATION SPRING 2015 DR. MICHAEL J. REALE.
Rick Parent - CIS681 Motion Capture Use digitized motion to animate a character.
Flexible Automatic Motion Blending with Registration Curves
Skeletal Animation and Skinning A (hardware friendly) software approach By: Brandon Furtwangler.
Motion Graphs By Lucas Kovar, Michael Gleicher, and Frederic Pighin Presented by Phil Harton.
Interactive Control of Avatars Animated with Human Motion Data By: Jehee Lee, Jinxiang Chai, Paul S. A. Reitsma, Jessica K. Hodgins, Nancy S. Pollard Presented.
Scalable Salient Motions Detection from Skeletal Motion Capture Data Samah Ramadan.
Animation From Observation: Motion Editing Dan Kong CMPS 260 Final Project.
Algirdas Beinaravičius Gediminas Mazrimas.  Introduction  Motion capture and motion data  Used techniques  Animating human body  Problems  Conclusion.
Spring 2014 CS274: Automatic Rigging
Data Driven Models of Motion Walking the Fine Line Between Performance, Realism and Style Chris White G-Lunch 2007.
Constrained Synthesis of Textural Motion for Animation Shmuel Moradoff Dani Lischinski The Hebrew University of Jerusalem.
Kinematics Intro :a branch of dynamics that deals with aspects of motion apart from considerations of mass and force Merriam-Webster.
CGDD 4003 Character Animation. The Skeletal Hierarchy (aka the “rig”) Based on the concept of bones Each bone has exactly one parent Each bone has a transform.
Animation.
Physically-Based Motion Synthesis in Computer Graphics
Computer Animation cgvr.korea.ac.kr.
Mesh Modelling With Curve Analogies
Majkowska University of California. Los Angeles
Real-time Skeletal Skinning with Optimized Centers of Rotation
UMBC Graphics for Games
Synthesis of Motion from Simple Animations
Computer Graphics Lecture 15.
Motion Graphs Davey Krill May 3, 2006.
Presentation transcript:

Design and Implementation of Motion Synthesis System Based on Support Phase Quan Yu

Outline  Background and Related Work  My Work  System Design and Implementation Design Idea and System Framework Torso Coordinate and BVH File Support Phase Detecting Dynamic Time Warping Motion Blending Skinning  Result  Conclusion and Future Work

Background  Motion Capture System  Two Defects – Only available data that can be used. – The data can only be applied to the character who shares the same skeleton structure with the actor.  Solution: motion synthesis and retargeting motion transition

Related Work Motion Graph : Make a transition between two frames with the most similar postures. Support Phase: Make a transition between two support phases computation consumingcan be smoother

My Work  Implement an interactive motion synthesis system based on support phase detecting, dynamic time warping and motion blending  Skinning Mesh Animation

System Design and Implementation Design Idea and System Framework Torso Coordinate and BVH File Support Phase Detecting Dynamic Time Warping Motion Blending Skinning

Design Idea Support Phases Detecting: —Find the idealist pair of support phases —Synchronize the motion and narrow the searching scope Dynamic Time Warping —Find the start frame and end frame for blending —The smaller distance, the smoother transition Motion Blending —Generate the transition with linear or spherical linear interpolation

Design Idea(Cont.) a general motion transition a transition based on support phases

System Framework System Flowchart

Torso Coordinate and BVH File Torso Coordinate : a tree structure BVH File : skeleton structure and motion data HIERACHY ROOT hip { OFFSET CHANNELS 6 Xpositon Ypos. Zpos. Xrotation Zrot. Yrot. JOINT chest { OFFSET CHANNELS Xrotation Zrotation Yrotation …… End Site { OFFSET } MOTION Frames: 100 Frame Time: ……

Torso Coordinate and BVH File(Cont.)  Transformation Matrix —Compute joints positions in the world coordinate E.g. : transformation matrix for left ankle The position of left ankle:

Torso Coordinate and BVH File(Cont.) void calJointsPositionAtFrame(Joint* joint,int frame_no) { GLfloat M[16]; glPushMatrix(); glTranslatef(x_offset,y_offset,z_offset); glRotatef(radX, 1.0f, 0.0f, 0.0f ); glRotatef(radY, 0.0f, 1.0f, 0.0f ); glRotatef(radZ, 0.0f, 0.0f, 1.0f ); glGetFloatv(GL_MODELVIEW_MATRIX,M); Vector3 pos=Vector3(M[12],M[13],M[14]); mapJointsPositionAtFrame[frame_no]->push_back(pos); for (int i=0; i numOfChildren(); i++ ) calJointsPositionAtFrame( joint->getChild(i), frame_no ); // recursion glPopMatrix(); }  Recursive Program by utilizing matrix stack of OpenGL

Support Phase Detecting Find the idealist pair of support phases Support Phase —The constrain between the feet and the ground — Four Categories no support(NS), right leg support(RS), left leg support(LS), double leg support(DS ) Classification criteria – The height and velocity of feet NS >* >* RS >* & <> <*<< LS <* & << >*<> DS << & <> <<<> Support Phase Category The height of left leg The velocity of left leg The height of right leg The velocity of right leg “ > ” : larger than the threshold “ < ” : smaller than the threshold ” * ” : unrelated

Support Phase Detecting(Cont.)  Choose the candidate pairs “ O ” : possible “ X “ : impossible e.g. Rules:

Support Phase Detecting(Cont.)  Choose the idealist pair of support phases  Selection Criteria —The lengths of A_sp and B_sp are nearly the same. —Both the lengths of A_sp and B_sp are close to the ideal length —Final criterion —Choose the pair with minimal w.

Dynamic Time Warping  Find the start frame for A_sp and end frame for B_sp  Feature Vector —Position, velocity and acceleration of Joints in WCS. —Align the root joint of frame B_sp_j with that of frame A_sp_i. Velocity:Acceleration: Alignment Matrix:

 Frame distance —Measure the similarity of a pair of frames(postures)  Choose the pair with minimal frame distance position distance: velocity distance: acceleration distance : frame distance: Dynamic Time Warping(Cont.)

 Criteria for blending length (1)Use the ideal length (threshold) if possible; (2)Or else, use the length as long as possible; (3)If the length is smaller than minimal threshold, use minimal length, and adjust the start fame and the end frame.

Motion Blending  Motion Alignment —Align the position of the root joint of B_sp_i with that of A_sp_i —Align the velocity direction of the root joint of B_sp_i with that of A_sp_i

Motion Blending (Cont.)  Interpolation ①root position: linear interpolation ②root orientation: linear interpolation with small angle ③other channels: spherical linear interpolation Also and

Skinning  Linear blend skinning  Skin: obj file  Weight : xml file  Binding: 3dmax skin modifier  The position of a vertex in WCS vertex position in WCS at binding pose Inverse transformation matrix of bone i at the binding pose transformation matrix of bone i at a frame weight of vertex related to bone i the number of bones influencing this vertex vertex position in WCS at a frame

Result  User interface —VC2005 、 OpenGL and Qt

Result(Cont.)  parameter dialog

Result(Cont.)  Support phase detecting result  Adjust the threshold manually if there is a need

Result(Cont.) a transition from walking to running

Result (Cont.) a transition from walking to jumping

Result (Cont.)  skinning result

Conclusion and Future Work  Design and implement a motion synthesis system based on support phases, dynamic time warping and motion blending.  Future Work – motion path synthesis – improve skinning algorithm and result

Thank you!