Hierarchical Modelling

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

29 Terms

1
New cards

What is heirarchical modelling?

A way to organize complex objects using a heirarchy of simpler componenets to allow easier manipulation and rendering

2
New cards

How are complex objects built in a heirarchy?

By combining simple shapes/ componenets where each part can be transformed independently

3
New cards

Why must transformations sometimes be stopped from interacting?

To prevent unintended effects, like rotating a blade also rotating the tower of a windmill

4
New cards

How are inverse transformations performed?

They cancel out previous transformations when backtracking the scene graph

5
New cards

What is a transformation stack?

A stack structure used to track and restore transformation states during rendering

6
New cards

Stack operations

  1. Push

  2. Apply Transformation

  3. Pop

7
New cards

Push

Saves the current state

8
New cards

Apply Transformation

Applies the new transformstion to the current transformation matrix

9
New cards

Pop

Restores the previous transformation state

10
New cards

What is subroutine in computer graphics?

A reusable function that performs a specific task, like drawing a shape.

11
New cards

How can subroutines from a heirarchy?

By combining smaller routines into components, then a full scene

12
New cards

How does save() and restore() work in canvas?

  1. save(): Pushes current canvas state onto the stack

  2. restore(): Pops and re-applies the last saved state

13
New cards

What are common canvas transformations?

  1. translate(x,y): moves the coordinte system

  2. rotate(angle): Rotates the coordinate system around the origin

  3. scale(x,y):Scales the coordinate system

  4. skew(): skews the coordinate system

14
New cards

What is a screen graph?

A heirarchical data structure for managing objects and their transformations in a scene

15
New cards

How is a scene rendered from a scene graph?

By traversing it and applying cumulative transformations

16
New cards

What are the main node types in a scene graph?

  1. SceneGraphNode: Abstract base class for all nodes

  2. CompoundObject: Group of multiple child nodes

  3. TransformedObject:Applies transformation to a single node

17
New cards

What does CompoundObject do?

Represent an object made of multiple sub-objects added via .add()

18
New cards

What does TransformedObject do?

Wraps a node and applies transformations using .setScale(), .setRotate(), .setTranslate()

19
New cards

What order are tranformations applied in TransformedObject?

Scale→Rotate→Translate

20
New cards

Why don’t these transformations affect other objects?

Beacuse transformations are local to each branch- other branches like cart or windmill remail unaffected

21
New cards

What is animation in graphics?

Creating motion by displaying a sequence of frames over time

22
New cards

What is sprite animation?

Using a sequence of 2D images to simulate movement

23
New cards

What is stop motion?

Capturing physical objects frame-by-frame to simulate motion

24
New cards

What is parallax scrolling?

Moving background layers at different speeds to create depth

25
New cards

What is keyframe interpolation?

Defining key poses and using interpolation to generate smooth transitions

26
New cards

What is motion capture?

Recording real-life actors movements with sensors and applying them to digital models

27
New cards

What is inverse kinematics(IK)?

A method to calculate joint angles so a limb reaches a specific target position

28
New cards

What is procedural animation?

Movement generated by algorithms in real-time instead of pre-defined

29
New cards

Examples of procedural animation?

  1. Physics-Based Animation

  2. Procedural Walk Cycles

  3. Crowd Simulation

  4. Dtnamic Environments