Software Engineering and Game Development

Slides:



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

GlTF and rest3d Patrick Cozzi University of Pennsylvania CIS Fall 2013.
1 Characters. 2Introduction The Characters are the Actors of the Games. The Characters are the Actors of the Games. Three Types of Characters : Three.
3D Graphics for Game Programming (J. Han) Chapter XI Character Animation.
Linear Blend Skinning.
Level Creation Pipeline from Sketches to the Level.
Non-Uniform Bone Scaling From Art Pipeline to Real-Time Rendering.
Character Setup Character Setup is the process of creating handles and controls for anything that a character animator will need to adjust in order to.
3D Game Programming All in One By Kenneth C. Finney.
Computer Animation 2D Animation.
Morphing and Animation GPU Graphics Gary J. Katz University of Pennsylvania CIS 665 Adapted from articles taken from ShaderX 3, 4 and 5 And GPU Gems 1.
Character Animation CSE 191A: Seminar on Video Game Programming Lecture 5: Character Animation UCSD, Spring, 2003 Instructor: Steve Rotenberg.
UFCEKT-20-33D Modelling and Animation 3D Modelling & Animation Character Animation: Skeletons and Joints.
1cs426-winter-2008 Notes  Collision notes part 1 (primitive operations) should be up on the weekend.
Der, Sumner, and Popović Inverse Kinematics for Reduced Deformable Models Kevin G. Der Robert W. Sumner 1 Jovan Popović Computer Science and Artificial.
Week 4 Lecture 3: Character Animation Based on Interactive Computer Graphics (Angel) - Chapter 10 1 Angel: Interactive Computer Graphics 5E © Addison-Wesley.
CSE 473 Dr. Charles B. Owen Fundamentals of 3D Game Development1 Skeletons and Skinning Bones and Skeletons Mesh Skinning.
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.
Chapter 5.2 Character Animation. CS Overview Fundamental Concepts Animation Storage Playing Animations Blending Animations Motion Extraction Mesh.
Character Animation Blending Abstract BSP Content Importing Digital Content Pipeline Extending Microsoft’s XNA Framework with BSP Content and Animation.
Course Introduction CSIS 5835: Graphics and Animation for Gaming.
© 2012 Adobe Systems Incorporated. All Rights Reserved. Copyright 2012 Adobe Systems Incorporated. All rights reserved. ® INTRODUCTION TO FLASH ANIMATION.
Character Animation for Realtime Applications Michael Putz Klaus Hufnagl Institute of Computer Graphics Graz University of Technology Austria.
Chapter 7 Animation. The Power of Animation Animation grabs attention Transitions are simple forms of animation  Wipe  Zoom  Dissolve.
Character Animation. Contents Keyframe animation Mocap Smooth skin by vertex blending Rigging & retargeting Gait analysis (Ragdoll physics) Fall
Computer Graphics Soft Body Animation - Skinning CO2409 Computer Graphics Week 22.
Algirdas Beinaravičius Gediminas Mazrimas.  Introduction  Motion capture and motion data  Used techniques  Animating human body  Problems  Conclusion.
Maths & Technologies for Games Animation: Practicalities CO3303 Week 3.
CSE 381 – Advanced Game Programming Animation Systems Jack Skellington, from The Nightmare Before Christmas.
Algirdas Beinaravičius Gediminas Mazrimas.  Introduction  Motion capture and motion data  Used techniques  Animating human body  Problems  Conclusion.
The Bone Tool Flash Class Photographer Finds the Bone Tool Beautiful This picture was posted by a photographer at Flickr.
Adobe Flash Professional CS5 – Illustrated Unit D: Creating Animation.
CS 450: COMPUTER GRAPHICS ANIMATION SPRING 2015 DR. MICHAEL J. REALE.
Animation.
Computer Animation 3D Animation. How do I develop 3D models using a variety of editing tools and texturing techniques? Vocabulary: Meshes- Represent 3D.
Flash Vector Illustration Animation Broadcast Media Mobile Computing Games Game Consoles Internet Edutainment Kiosks.
Skeletal Animation and Skinning A (hardware friendly) software approach By: Brandon Furtwangler.
Maths & Technologies for Games Graphics Optimisation - Batching CO3303 Week 5.
Modeling and Animation A brief overview. Amanda Chaffin.
Unity3D Animation. The Animation System supports –animation blending, –mixing, –additive animations, –walk cycle time synchronization, –animation layers,
Algirdas Beinaravičius Gediminas Mazrimas.  Introduction  Motion capture and motion data  Used techniques  Animating human body  Problems  Conclusion.
Spring 2014 CS274: Automatic Rigging
By John Crocker UC Santa Cruz, 2012 CMPS 162 Advanced Computer Graphics and Animation.
Chapter 6.7 Animation. 2 Overview When to use animation Feedback to player about interaction with UI and in-game action Communicating environmental* conditions.
Inverse Kinematics CSIS 5838: Graphics and Animation for Gaming.
Computer Animation in Games For The Phoenix IEEE Society Wednesday, November 4, 2009 Ryan Anderson Senior Technology Engineer Rainbow Studios.
Introduction to Animation In animation, a series of images are rapidly changed to create an illusion of movement.
67535: Computer Games Programming Week 8: animation – Keyframe – Biomotion – Animators’ POV.
Computer Engineering and Networks, College of Engineering, Majmaah University ANIMATION Mohammed Saleem Bhat CEN-318 Multimedia.
2014 Animation Programming for Music Video Games Jessica Scott Harmonix Music Systems, Inc. October 10, 2014 #GHC
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.
Computer Graphics Imaging Ying Zhu Georgia State University Lecture 19 and 20 Character Animation with Armature.
Lecture Rendering pipeline, shaders and effects 1Elias Holmlid.
COM 205 Multimedia Applications
Lecture d game programming basics 1Elias Holmlid.
Animation.
COMPUTER GRAPHICS CHAPTER 35 CS 482 – Fall 2017 ANIMATION
Computer Animation Ying Zhu Georgia State University
Chapter 6.7 Animation.
Chapter 6.7 Animation.
Animate Workspace. Objective % Utilize appropriate tools and methods to produce digital animation.
Skeletons and Skinning
Chapter XIII Character Animation
INTRODUCTION TO FLASH ANIMATION
UMBC Graphics for Games
Chapter 5 Animation.
Simplification of Articulated Mesh
ANIMATE WORKSPACE Stage Timeline Properties Panel Library Panel
Presentation transcript:

Software Engineering and Game Development Lecture 12 --- Skeletal animation Software Engineering and Game Development Elias Holmlid

Today’s plan First, going to finish off what we did yesterday Then... animation Keyframed animation Skeletal animation Elias Holmlid

Key framed animation Also called per-vertex animation or morph-target animation Define a few frames, then fill in the blanks (tweening) Elias Holmlid

Key framed animation on meshes Static mesh model for each frame Only the key frames are exported Good for facial animation Used in Quake II and Quake III for example Elias Holmlid

Skeletal animation A hierarchical set of bones Possible to blend different animations together (smooth run->idle for example) Elias Holmlid

Skeletal animation Each frame, we can represent the transform for each bone as a matrix This is called a matrix palette, i.e. an array of matrices Elias Holmlid

Skeletal animation Vertex blending Each vertex in the mesh can be influenced by several bones Final position of vertices calculated as a weighted average of the influencing bones Thus, smooth transitions can be achieved at joints Usually, four bones / vertex is enough Each vertex contains blend indices and blend weights. Elias Holmlid

Skeletal animation Only bones... Elias Holmlid

Skeletal animation Skinned bones... Elias Holmlid

Inverse kinematics Find out how to rotate bones in order to end up at a desired position http://www.youtube.com/watch?v=tOAFCvSnNDc Elias Holmlid

Ragdoll physics Often used in death animations Place constraints on how the skeleton’s bones can move in relation to each other Then use physical simulation on bones Elias Holmlid

Ragdoll Physics http://www.youtube.com/watch?v=gbuA-HEbROk http://www.youtube.com/watch?v=WsEHxw-hv90 Elias Holmlid

Skeletal animation in XNA .X and .FBX formats support skeletal animation .FBX concatenates all tracks into a single timeline .X supports more than one track I’ve had most luck using the kW X-port plugin for 3D-studio (http://www.kwxport.org/). Elias Holmlid

Skeletal animation in XNA Content pipeline needs to be extended Elias Holmlid

What has to be implemented? Animated Model Processor ContentTypeWriter ContentTypeReader Classes for storing the data during runtime Compiled as a library Keyframe (stores a keyframe for one bone) AnimationData (stores one animation) AnimatedModelData (stores skeleton+all animations) Skinned Effect Elias Holmlid