Rick Parent - CIS682 Rigid Body Dynamics simulate basic physics of an object subject to forces Keyframing can be tedious - especially to get ‘realism’

Slides:



Advertisements
Similar presentations
Angular Quantities Correspondence between linear and rotational quantities:
Advertisements

Chapter 9 Rotational Dynamics.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Chris Hall Aerospace and Ocean Engineering
1 ME 302 DYNAMICS OF MACHINERY Dynamic Force Analysis Dr. Sadettin KAPUCU © 2007 Sadettin Kapucu.
READING QUIZ angular acceleration. angular velocity. angular mass.
Rotational Equilibrium and Rotational Dynamics
Chapter 9 Rotational Dynamics.
Dynamics of Rotational Motion
Angular Momentum (of a particle) O The angular momentum of a particle, about the reference point O, is defined as the vector product of the position, relative.
Chapter 11 Angular Momentum.
Rotational Dynamics Chapter 9.
Chapter 11 Angular Momentum.
Game Physics – Part II Dan Fleck. Linear Dynamics Recap  Change in position (displacement) over time is velocity  Change in velocity over time is acceleration.
Rotational Motion - refers to motion of a body about a fixed axis of rotation wherein, the particles have the same instantaneous angular velocity.
1Notes  Demetri Terzopoulos talk: Thursday, 4pm Dempster 310.
Ch. 7: Dynamics.
Game Physics Chris Miles. The Goal To learn how to create game objects with realistic physics models To learn how to simulate aspects of reality in order.
Chapter Eight Rotational Dynamics Rotational Dynamics.
Rigid Bodies Rigid Body = Extended body that moves as a unit Internal forces maintain body shape Mass Shape (Internal forces keep constant) Volume Center.
Chapter 10 More on angular momentum and torque In chapter 9 we described the rotational motion of a rigid body and, based on that, we defined the vector.
Computer graphics & visualization Rigid Body Simulation.
Rotational Motion. Rotational motion is the motion of a body about an internal axis. In rotational motion the axis of motion is part of the moving object.
Feature-length films: Games: Desktop Animations: Computer Animation.
Angular Kinetics Explaining the Causes of Angular Motion
Work Let us examine the work done by a torque applied to a system. This is a small amount of the total work done by a torque to move an object a small.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Physically Based Animation.
Spring Topic Outline for Physics 1 Spring 2011.
Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
Chapter 11 Angular Momentum. The Vector Product There are instances where the product of two vectors is another vector Earlier we saw where the product.
A particle moves in a circle of radius r. Having moved an arc length s, its angular position is θ relative to its original position, where. An angular.
Rotation Rotational Variables Angular Vectors Linear and Angular Variables Rotational Kinetic Energy Rotational Inertia Parallel Axis Theorem Newton’s.
Spring Rigid Body Simulation. Spring Contents Unconstrained Collision Contact Resting Contact.
Chapter 9: Rotational Dynamics
Rigid Body Motion. Game Physics “Linear physics”– physics of points –particle systems, ballistic motion… –key simplification: no orientation “Rotational.
Lecture Fall 2001 Physically Based Animation Ordinary Differential Equations Particle Dynamics Rigid-Body Dynamics Collisions.
Chapter 8 Rotational Motion.
Chapter 17 PLANE MOTION OF RIGID BODIES: ENERGY AND MOMENTUM METHODS
Rotational Mechanics. Rotary Motion Rotation about internal axis (spinning) Rate of rotation can be constant or variable Use angular variables to describe.
Advanced Computer Graphics Rigid Body Simulation Spring 2002 Professor Brogan.
Dynamics Kris Hauser I400/B659, Spring Agenda Ordinary differential equations Open and closed loop controls Integration of ordinary differential.
Chapter 11 Angular Momentum. Angular momentum plays a key role in rotational dynamics. There is a principle of conservation of angular momentum.  In.
MOMENTUM l Momentum is a measure of motion =“magnitude of motion”, “impetus”, “impulse” p = m  v rate of change of momentum = force: if no force acts,
Spring Rigid Body Simulation. Spring Contents Unconstrained Collision Contact Resting Contact.
1 Work in Rotational Motion Find the work done by a force on the object as it rotates through an infinitesimal distance ds = r d  The radial component.
Angular Kinetics of Human Movement
CS274 Spring 01 Lecture 7 Copyright © Mark Meyer Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
Rigid Body Dynamics CSE169: Computer Animation
Chapter 11 Angular Momentum; General Rotation 11-2 Vector Cross Product; Torque as a Vector 11-3Angular Momentum of a Particle 11-4 Angular Momentum and.
Dynamics. Motion with Regard to Mass Particle Dynamics Mass concentrated in point Newton’s Equation Governs Motion f = M x.
Particle Kinematics Direction of velocity vector is parallel to path Magnitude of velocity vector is distance traveled / time Inertial frame – non accelerating,
Fundamentals of Computer Animation Rigid Body Simulation (1)
SHM – Types of Pendulums AP Physics. Pendulum Simple Physical/Compound  Oscillates due to gravity  Mass of pendulum bob is irrelevant  Oscillates due.
1 Angular Momentum Chapter 11 © 2012, 2016 A. Dzyubenko © 2004, 2012 Brooks/Cole © 2004, 2012 Brooks/Cole Phys 221
UNIT 6 Rotational Motion & Angular Momentum Rotational Dynamics, Inertia and Newton’s 2 nd Law for Rotation.
Advanced Computer Graphics Rigid Body Simulation
Ch 8 : Rotational Motion .
Lecture Rigid Body Dynamics.
Lecture 16 Newton Mechanics Inertial properties,Generalized Coordinates Ruzena Bajcsy EE
Rotational Inertia and Torque
Rotational Dynamics Chapter 9.
Angular Kinetics of Human Movement
Honors Physics 1 Class 12 Fall 2013
Chapt. 10 Angular Momentum
Manipulator Dynamics 2 Instructor: Jacob Rosen
Chapter 11 - Rotational Dynamics
Rigid Body Dynamics (unconstrained)
Outline: 5.1 INTRODUCTION
Outline: 5.1 INTRODUCTION
Presentation transcript:

Rick Parent - CIS682 Rigid Body Dynamics simulate basic physics of an object subject to forces Keyframing can be tedious - especially to get ‘realism’ Animator gives up control Animator gets ‘realistic’ motion automatically. Simulate physics by - programming equations of motions - setting initial conditions

Rick Parent - CIS682 Siimulation Update Cycle Object properties Position, orientation Linear and angular velocity Linear and angular momentum mass Calculate forces Calculate accelerations Using mass, momenta Update object properties

Rick Parent - CIS682 Object under Forces Forces Gravity Wind Springs Collision avoidance Soft constraints Calculate acceleration due to forces Calculate update to object velocity & position

Rick Parent - CIS682 Object under Linear Force Use a(t) to update current state of point mass: x(t), v(t) Given: force, f(t), gives rise to acceleration, a(t), or

Rick Parent - CIS682 Equations of Motion Linear force Linear momentum Resistance to linear force: mass Conserved in a closed system Angular force: torque Angular momentum Resistance to angular force: inertia tensor.

Rick Parent - CIS682 Rotational Movement Represent orientation with rotation matrix: R(t) Represent angular velocity with vector:  (t) - direction is axis of rotation - magnitude is speed of rotation Angular velocity insensitive to distance from center or rotation

Rick Parent - CIS682 Rotational Movement b r (t)   (t)  (t) - angular velocity r(t) - position of a relative to b b - point on axis of rotation  - angle r(t) makes with axis of rotation

Rick Parent - CIS682 Rotational Movement R(t) - rotation matrix representing the orientation of a rigid body Change in rotation matrix can be computed by taking cross product of w(t) with each column Columns are vectors to positions a unit length on principle axis

Rick Parent - CIS682 Rotational Movement Define the following for notational convenience to define cross product as a matrix operation:

Rick Parent - CIS682 Velocity of a Point q - original position of point in rigid body x(t) - position of rigid body v(t) - velocity of rigid body q(t) – time-dependent position of point in rigid body

Rick Parent - CIS682 Center of Mass Integration of differential mass times position in object Approximate by summing over representational particles in object Object’s “position” is the position of its center of mass Mass is the object’s resistance to a change in velocity

Rick Parent - CIS682 Force and Torque F F Force on center of mass results in linear acceleration Force off-center of mass is torque and creates angular acceleration - what is angular mass?

Rick Parent - CIS682 But first…Linear Momentum Mass times velocity Sum over all particles of object Use total mass for linear momentum Change in (linear) momentum is equal to force

Rick Parent - CIS682 Angular Momentum - measure of rotating mass weighted by its distance from the axis of rotation Relative position of particle Relative velocity of particle mass Factor out mass

Rick Parent - CIS682 Angular Momentum Define Inertia Tensor, I(t), that captures distribution of mass Similar to the linear case, the change in Angular Momentum is equal to torque

Rick Parent - CIS682 Inertia Tensor - object’s resistance to a change in rotational velocity

Rick Parent - CIS682 Inertia Tensor

Rick Parent - CIS682 Inertia Tensor for a Cuboid 1 12 M (b 2 + c 2 ) M (a 2 + c 2 ) M (a 2 + b 2 )

Rick Parent - CIS682 Finally, the Equations - State vector S (t) = x (t) R (t) P (t) L (t) Update with velocity Update with angular velocity Update with force Update with torque Given: S(t), M, I object

Rick Parent - CIS682 Update State Vector

Rick Parent - CIS682 Update Orientation - options R(t) +=  (t) * R(t) and re-orthonormalize Extract axis-angle from  (t) and rotate columns of R(t) Use quaternions to rotate quaternion version of R(t)

Rick Parent - CIS682

Now, what about collisions?