Docstoc

Microsoft-PowerPoint---3408hierobj

Document Sample
Microsoft-PowerPoint---3408hierobj Powered By Docstoc
					CS 112 - Hierarchical Model Representation

Aditi Majumder, CS 112

Slide 1

Animations
Need efficient representation of
Model geometry Motion Interactive rendering

Aditi Majumder, CS 112

Slide 2

1

Inherent relationship of parts
Shoulder

Arm – Simple model Shoulder moves all the three parts Elbow moves everything below it Inherent hierarchical relationship
Aditi Majumder, CS 112

Elbow

Wrist

Slide 3

Inherent relationship of parts
Shoulder Shoulder

Elbow

Elbow

Wrist Wrist Directed Acyclic Tree

Aditi Majumder, CS 112

Slide 4

2

Dependency
Any transformation applied to the parent will be undergone by the children
Children must be placed appropriately with respect to the parent

Children may have their own independent movement
Not transmitted to the parent

Aditi Majumder, CS 112

Slide 5

Representing Transformations
Shoulder

Transformation with respect to the parent Transformation to place it appropriately with respect to the parent

Elbow

Wrist

Aditi Majumder, CS 112

Slide 6

3

Representing Transformations
Shoulder

Transformation with respect to the parent Transformation to place it appropriately with respect to the parent

Elbow

Wrist

Aditi Majumder, CS 112

Slide 7

Representing Transformations
Assume each part is defined with origin at center

Aditi Majumder, CS 112

Slide 8

4

Representing Transformations
Assume each part is defined with origin at center Rw

Aditi Majumder, CS 112

Slide 9

Representing Transformations
Assume each part is defined with origin at center Rw Twe

Aditi Majumder, CS 112

Slide 10

5

Representing Transformations
Assume each part is defined with origin at center Rw – Wrist Twe - Wrist RE – Elbow and Wrist

Aditi Majumder, CS 112

Slide 11

Representing Transformations
Assume each part is defined with origin at center Rw – Wrist Twe - Wrist Re – Elbow and Wrist Tes – Elbow and Wrist
Aditi Majumder, CS 112 Slide 12

6

Representing Transformations
Assume each part is defined with origin at center Rw – Wrist Twe - Wrist Re – Elbow and Wrist Tes – Elbow and Wrist Rs – Shoulder, elbow and wrist
Aditi Majumder, CS 112 Slide 13

Representing Transformations
Assume each part is defined with origin at center Rw – Wrist Twe - Wrist Re – Elbow and Wrist Tes – Elbow and Wrist Rs – Shoulder, elbow and wrist
Aditi Majumder, CS 112

Wrist: RsTesReTweRw Elbow: RsTesRe Shoulder: Rs

Slide 14

7

Data Structure
Depth first traversal of the tree Push matrix when entering a node Pop matrix when leaving a node Render the node as you encounter it Example

Aditi Majumder, CS 112

Slide 15

Data Structure
Shoulder - Rs Tes Elbow - Re Twe Wrist - Rw RsTesReTweRw RsTesRe Rs
Aditi Majumder, CS 112 Slide 16

Tts Torso - Rt

8

Data Structure
Shoulder - Rs Tes Elbow - Re Twe Wrist - Rw RsTesRe Rs
Aditi Majumder, CS 112 Slide 17

Tts Torso - Rt

Data Structure
Shoulder - Rs Tes Elbow - Re Twe Wrist - Rw RsTtsRt Rs
Aditi Majumder, CS 112 Slide 18

Tts Torso - Rt

9

Data Structure
Shoulder - Rs Tes Elbow - Re Twe Wrist - Rw Rs
Aditi Majumder, CS 112 Slide 19

Tts Torso - Rt

Data Structure
Shoulder - Rs Tes Elbow - Re Twe Wrist - Rw Tts Torso - Rt

Aditi Majumder, CS 112

Slide 20

10

Representing Motion
Keyframes
Generate the transformations for key postures
Done manually

Interpolate everything in between
Done automatically

Aditi Majumder, CS 112

Slide 21

11


				
DOCUMENT INFO
Shared By:
Tags: Micro, soft-
Stats:
views:43
posted:11/29/2009
language:English
pages:11
Description: Microsoft-PowerPoint---3408hierobj