Kinematics and Orientations

Similar documents
Rigging / Skinning. based on Taku Komura, Jehee Lee and Charles B.Own's slides

Reading. Topics in Articulated Animation. Character Representation. Animation. q i. t 1 t 2. Articulated models: Character Models are rich, complex

Articulated Characters

Animation. Keyframe animation. CS4620/5620: Lecture 30. Rigid motion: the simplest deformation. Controlling shape for animation

SM2231 :: 3D Animation I :: Basic. Rigging

Chapter 3 : Computer Animation

Animation. CS 4620 Lecture 32. Cornell CS4620 Fall Kavita Bala

Hierarchical Modeling

Game Programming. Bing-Yu Chen National Taiwan University

Inverse Kinematics. Given a desired position (p) & orientation (R) of the end-effector

Inverse Kinematics Programming Assignment

KINEMATICS FOR ANIMATION. Rémi Ronfard, Animation, M2R MOSIG

12.1 Quaternions and Rotations

CS 445 / 645 Introduction to Computer Graphics. Lecture 21 Representing Rotations

Where We Are: Static Models

Quaternions and Rotations

Computer Animation Fundamentals. Animation Methods Keyframing Interpolation Kinematics Inverse Kinematics

Today. Parity. General Polygons? Non-Zero Winding Rule. Winding Numbers. CS559 Lecture 11 Polygons, Transformations

Quaternions and Rotations

Animation. Traditional Animation Keyframe Animation. Interpolating Rotation Forward/Inverse Kinematics

Quaternions and Rotations

Interactive Computer Graphics

Kinematics. Kinematics analyzes the geometry of a manipulator, robot or machine motion. The essential concept is a position.

ME5286 Robotics Spring 2014 Quiz 1 Solution. Total Points: 30

Character Animation 1

Automatic generation of humanoid s geometric model parameters

CS354 Computer Graphics Rotations and Quaternions

Overview. Animation is a big topic We will concentrate on character animation as is used in many games today. humans, animals, monsters, robots, etc.

Inertial Measurement Units II!

Quaternions and Rotations

Maya Lesson 8 Notes - Animated Adjustable Desk Lamp

MTRX4700 Experimental Robotics

Planning, Execution and Learning Application: Examples of Planning for Mobile Manipulation and Articulated Robots

Inverse Kinematics Analysis for Manipulator Robot With Wrist Offset Based On the Closed-Form Algorithm

A 12-DOF Analytic Inverse Kinematics Solver for Human Motion Control

Basilio Bona ROBOTICA 03CFIOR 1

Learning Autodesk Maya The Modeling & Animation Handbook. Free Models From Turbo Squid Value US $ Official Autodesk Training Guide

BONE CONTROLLER ASSET VERSION 0.1 REV 1

Robotics kinematics and Dynamics

3D Modelling: Animation Fundamentals & Unit Quaternions

IntroductionToRobotics-Lecture02

Animator Friendly Rigging Part 3b

Lecture 22 of 41. Animation 2 of 3: Rotations, Quaternions Dynamics & Kinematics

Lecture 22 of 41. Animation 2 of 3: Rotations, Quaternions Dynamics & Kinematics

Inverse Kinematics (part 1) CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2018

3D Transformations. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 11

CMSC 425: Lecture 10 Skeletal Animation and Skinning

ROBOTICS 01PEEQW. Basilio Bona DAUIN Politecnico di Torino

Animation. CS 4620 Lecture 33. Cornell CS4620 Fall Kavita Bala

Modify Group. Joint Move. (default keyboard shortcut Ctrl J)

CS770/870 Spring 2017 Animation Basics

CS770/870 Spring 2017 Animation Basics

3D Transformations. CS 4620 Lecture 10. Cornell CS4620 Fall 2014 Lecture Steve Marschner (with previous instructors James/Bala)

θ x Week Date Lecture (M: 2:05p-3:50, 50-N202) 1 23-Jul Introduction + Representing Position & Orientation & State 2 30-Jul

Keyframing an IK Skeleton Maya 2012

Hierarchical Modeling. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

CS 428: Fall Introduction to. Transformations in OpenGL + hierarchical modeling. Andrew Nealen, Rutgers, /21/2009 1

IMAGE-BASED RENDERING AND ANIMATION

Animations. Hakan Bilen University of Edinburgh. Computer Graphics Fall Some slides are courtesy of Steve Marschner and Kavita Bala

Visual Recognition: Image Formation

Animating Non-Human Characters using Human Motion Capture Data

Collision Detection. Jane Li Assistant Professor Mechanical Engineering & Robotics Engineering

Chapter 5. Creating Special Effects Delmar, Cengage Learning

Motion Capture User Manual

Quaternions & Rotation in 3D Space

Character Animation. Presented by: Pam Chow

1 Transformations. Chapter 1. Transformations. Department of Computer Science and Engineering 1-1

Forward kinematics and Denavit Hartenburg convention

Lab 2A Finding Position and Interpolation with Quaternions

This week. CENG 732 Computer Animation. Warping an Object. Warping an Object. 2D Grid Deformation. Warping an Object.

GRK. dr Wojciech Palubicki

Chapter 9 Animation System

METR 4202: Advanced Control & Robotics

Rising Motion Controllers for Physically Simulated Characters

Kinematics: Intro. Kinematics is study of motion

Walk Cycle with Symbols

Animation. CS 465 Lecture 22

3D Kinematics. Consists of two parts

Chapter 5.2 Character Animation

Industrial Robots : Manipulators, Kinematics, Dynamics

ME 115(a): Final Exam (Winter Quarter 2009/2010)

Character Animation COS 426

Orientation & Quaternions

Animation Lecture 10 Slide Fall 2003

CS 775: Advanced Computer Graphics. Lecture 3 : Kinematics

3D Rotations and Complex Representations. Computer Graphics CMU /15-662, Fall 2017

Transformations: 2D Transforms

An Introduction to animation and motion blending

Robots are built to accomplish complex and difficult tasks that require highly non-linear motions.

Rotations in 3D Graphics and the Gimbal Lock

Lecture 3.5: Sumary of Inverse Kinematics Solutions

Animation Curves and Splines 2

Data-driven Approaches to Simulation (Motion Capture)

Animator Friendly Rigging Part 2b

TIEA311 Tietokonegrafiikan perusteet kevät 2018

Jane Li. Assistant Professor Mechanical Engineering Department, Robotic Engineering Program Worcester Polytechnic Institute

Triangulation: A new algorithm for Inverse Kinematics

Quaternion Interpolation

Name: Let the Catmull-Rom curve q(u) be defined by the following control points: p 1 = 0, 1 p 2 = 1, 1 p 3 = 1, 0. p 2. p 1.

3D Transformations World Window to Viewport Transformation Week 2, Lecture 4

Transcription:

Kinematics and Orientations Hierarchies Forward Kinematics Transformations (review) Euler angles Quaternions Yaw and evaluation function for assignment 2

Building a character Just translate, rotate, and scale each body part to get the right size, shape, position, and orientation. Looks great--until you try to make it move.

The Right Control Knobs As soon as you want to change something, the model falls apart Reason: the thing you re modeling is constrained but your model doesn t know it What we need: some sort of representation of structure a set of control knobs (parameters) that make it easy to move our stick person through legal configurations Key is to structure the transformations in the right way: using a hierarchy

Making an Articulated Model p B T r A p B q q r A A minimal 2-D jointed object: Two pieces, A ( forearm ) and B ( upper arm ) Attach point q on B to point r on A ( elbow ) Desired control knobs: T: shoulder position (point at which p winds up) u: shoulder angle (A and B rotate together about p) v: elbow angle (A rotates about r, which stays attached to q)

Making an Arm, step 1 r A Start with A and B in their untransformed configurations (B is hiding behind A) First apply a series of transformations to A, leaving B where it is

Making an Arm, step 2 r A B p A q r Translate by -r, bringing r to the origin B is now peeking out from behind A

r Making an Arm, step 3 r B p A q p B q A Next, we rotate A by v (the elbow angle)

r r Making an Arm, step 4 p B q A p B q A Translate A by q, bringing r and q together to form the elbow joint We can regard q as the origin of the lower arm coordinate system, and regard A as being in this coordinate system.

Making an Arm, step 5 p B q r A p B q r A From now on, each transformation applies to both A and B (This is important!) First, translate by -p, bringing p to the origin A and B both move together, so the elbow doesn t separate

Making an Arm, step 6 p B q r A p B r A Then, we rotate by u, the shoulder angle Again, A and B rotate together

Making an Arm, step 7 p B q p B q r A r A Finally, translate by T, bringing the arm where we want it p is at origin of upper arm coordinate system

Transformation Hierarchy Trans T Rot u Trans -p Trans q Rot v B The build-an-arm sequence, represented as a tree Interpretation: Leaves are geometric primitives Internal nodes are transformations Transformations apply to everything under them Trans -r A Control Knob Primitive Structural

Transformation Hierarchy Trans T Rot u Trans -p Trans q Rot v B Another point of view: The shoulder coordinate transformation moves everything below it with respect to the shoulder: B A and its transformation The elbow coordinate transformation moves A with respect to the shoulder coordinate transform Trans -r A Shoulder coordinate xform Elbow coordinate xform Primitive

A Schematic Humanoid Each node represents hip torso shoulder l. leg1 l. leg2 r. leg1 r. leg 2 l. arm1 r. arm1 neck l. arm2 r. arm2 head rotation(s) geometric primitive(s) structural transformations The root can be anywhere. We chose the pelvis (can re-root) Control knob for each joint angle, plus global position and orientation for the root This is how amc file in 2 nd assignment works

What Hierarchies Can and Can t Do Advantages: Reasonable control knobs Maintains structural constraints Disadvantages: Doesn t always give the right control knobs trivially e.g. hand or foot position - re-rooting may help Can t do closed kinematic chains easily (keep hand on hip) Missing other constraints: do not walk through walls

So What Have We Done? Forward Kinematics Given the model and the joint angles, where is the end effector? Compute this so you know where to draw primitives Inverse Kinematics Given a desired location of the end effector, what are the required joint angles to put it there? Required to place the end effector near to an object in the real world. Kinematics is easy, IK is hard because of redundancy.

Kinematics and Orientations Hierarchies Forward Kinematics Transformations (review) Euler angles Quaternions Washing out yaw for assignment 2

Interpolation Trivial for translation: t=k * t1 + (1-k) * t2 Easy for rotation in 1D Not so easy for 3D rotation

x Gimbal Lock z x z y y Gimbal Locked Gimbal A Gimbal is a hardware implementation of Euler angles (used for mounting gyroscopes, expensive globes) Gimbal lock is a basic problem with representing 3-D rotations using Euler angles

Interpolating Rotations Q: What kind of a compound rotation do you get by successively turning about each of the three axes of the rotation at a constant rate? A: not the one you want.

Quaternion Interpolation We can think of rotations as lying on an n-d unit sphere θ 2 θ 1 1-angle (θ) rotation (unit circle) 2-angle (θ-φ) rotation (unit sphere) Interpolating rotations means moving on n-d sphere

2-angle (θ-φ) rotation (unit sphere)

Washing out Yaw Amc file format in Euler angles You want roll and pitch + delta yaw not roll, pitch, yaw Convert to yaw, roll, pitch Euler angles http://vered.rose.utoronto.ca/people/david_dir/gems/gems.html Compute delta yaw between frames Re-animate by incrementing yaw by delta yaw. Compute new rotation matrix. Compute delta x,z and increment to animate

Evaluation function? Lots of possibilities here: joint angles weighted joint angles (visually big ones) root height, roll, pitch scattered points (a la Kovar and Gleicher) contact state what else?