character animation in games
play

Character Animation in Games Appu Goundan Dhruv Thukral Yuting Ye - PowerPoint PPT Presentation

Character Animation in Games Appu Goundan Dhruv Thukral Yuting Ye Combining and Morphing Motion Capture Data Limitations of Motion Capture Need to capture all motions of a character to able to represent those actions on screen. Can


  1. Character Animation in Games Appu Goundan Dhruv Thukral Yuting Ye

  2. Combining and Morphing Motion Capture Data  Limitations of Motion Capture − Need to capture all motions of a character to able to represent those actions on screen. − Can create large databases that take up lots of space and have large search times. − Data from one character one accurate represent another character of different dimensions. − Requires large and expensive equipment to capture.

  3.  Solutions : Morph and Combine data − Use one small data base to create new motions similar to the database based on external parameters − Morph data from one capture session to match anyone of any proportions and have that data look realistic. − Capture all the data needed at once so that motion capture doesn't have to be used again and then use modifications on that data base for everything, that way eliminating the need to return the motion capture aparatus.

  4. Some Methods  Motion Graphs  Motion Warping

  5. Motion Graphs  One database of motion capture data  Specify a requirement for the output motion − A path to follow − A time to get from one point to another − A motion style  Algorithm should choses small sections of data and put them together to satisfy constraints and create satisfactory motion by interpolating end points of each section.

  6. Motion Warping  A (small) database of motions  Based on input : − Location of key points in space − Certain obstacles in the way − Physical Constraints  Create a motion : − Similar to something in the database − Still realistic looking and physically plausible − Satisfies all the contraints.

  7.  While it does make using motion capture data more friendly, it has its limitations  Created data is still somewhat close to motion data, so something similar to the generated data has to be in the database.  Sometimes the process is slow and can't be generated in real time.  Initial motion capture is still expensive.  Future ? : Model the human body so accurately that expensive motion capture can be eliminated?

  8. Adding Physics Yuting Ye ANIMO Lab

  9. Dynamics • Lagragian equation • d � T q � � T � q � Q = 0 dt � ˙ • tr ( � W i m i g � c i � p k T ) M i ˙ ˙ � � � W F k + k s ( q j � q j ) + � = 0 + + i � q j � q j � q j i � n ( j ) i � n ( j ) k

  10. Forward Simulation • Rigidbody simulation • Ragdoll simulation - NatualMotion Ltd (http://www.naturalmotion.com) • Special controllers • Gymnastics - J. Hodgins, W. Wooten, D. Brogan, and J. O'Brien, Animating Human Athletics, • Balance Controller SIGGRAPH’95 - NaturalMotion Ltd

  11. Simulation + Mocap • Tracking • Pollard, N., Zordan, V., Physically Based Grasping Control from Example, SCA’05 • Zordan, V., Hodgins, J., Motion capture-driven simulations that hit and react, SCA’02. • Zordan, V., Hodgins, J., Tracking and Modifying Upper-body Human Motion Data • Blending Mocap to Simulation with Dynamic Simulation, Computer Animation and Simulation '99 • Dynamic response • Endorphin - Zordan, V. et al, Dynamic Response for Motion Capture Animation, SIGGRAPH’05 - NaturalMotion Ltd

  12. Pros and Cons • Pros • Interactive • Realtime • Cons • Hard to design • Too specific

  13. Spacetime Optimization • Luxo Jr. - A. Witkin and M. Kass., Spacetime constraints, SIGGRAPH’88

  14. Spacetime + Mocap • From poses - Liu, C. K. and Popovi ć , Z. Synthesis of Complex Dynamic Character Motion • From simple clips from Simple Animation, SIGGRAPH’02 - Abe, Y., Liu, C. K., and Popovi ć , Z. Momentum-based Parameterization of • Multiple characters interactions Dynamic Character Motion, SCA’04 - Liu, C. K., Hertzmann, A., Popovic, Z. Composition of Complex Optimal Multi-Character Motions, SCA’06

  15. Inverse Optimization • Learning style from motion - Liu, C. K., Hertzmann, A. and Popovi ć , Z. Learning Physics-based Motion Style with Nonlinear Inverse Optimization, SIGGRAPH’05

  16. Pros and Cons • Pros • Realistic (v.s. robotic) • Anticipation and follow through • Full user control • Cons • Computationally expensive • No user interaction

  17. Optimization-based Forward Simulation - Sumit Jain, Yuting Ye, C. Karen Liu, Optimization-based Interactive Character Simulation, under review

  18. Pros and Cons • Pros • Interactive • High level control • Realistic • Easy to design • Versatile • Cons • Not realtime • No planning

  19. Importing Motion Capture Data into Gaming Dhruv Thukral Gamepipe Labs

  20. High Level Process  Go to Yuting and ask her for the .C3D Motion Capture Sessions.  Export a character skeleton (Maya) to use in Motionbuilder.  Import the MoCap data and skeleton into Motionbuilder and apply them to a Motionbuilder Actor.  Create a resulting Motion Builder Character and apply all the animations to it.  Export the resulting character to use in Maya.  Make optimizations in Maya and export the character in a game engine specific format.  Use the character in your games.

  21. Export Maya Skeleton to MotionBuilder FBX format

  22. Import to Motion Builder We then associate a character with the imported skeleton and in this case we will characterize it as a Biped

  23. Create an actor and associate with Mocap Data

  24. Map actor to optical data

  25. Map actor to optical data In the screenshot you see a 2D  version of the actor model with numbers within circles. This is the number of optical markers that have been assigned to the bone over which the circle lies. This will let you set the optical  markers from the .c3d mocap data to influence bones in your Actor.

  26. Voila Look what we have!

  27. Export the file

  28. Import into Maya and Optimize

  29. Export into game engines and..

  30. and

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend