Lec 1 - Data structures

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

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:34 PM on 4/1/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

10 Terms

1
New cards

Independent Face List

Each face stores its vertices explicitly.

struct Vertex {float x, y, z;};
struct Face {Vertex v1, v2,v3;};
struct Mesh {Face faces[F];};

2
New cards

Indeced Face List

Vertex array stores unique vertex coordinates only. Faces contain pointers to vertices rather than copying coordinates explicitly.

struct Vertex {float x, y, z;};
struct Face {Vretex* v1, v2, v3;};
struct Mesh { 
Vertex verts[V]; 
Face faces[F];
};

3
New cards

Half-edge Mesh

To efficiently store and access vertices, faces, edges and neighbors.

struct HalfEdgeMesh {
Vertex* vert; 
Halfedge* next; 
Halfedge* prev; 
Halfedge* pair; 
Face* face; 
};
struct Vertex {
float x, y, z;
Halfedge* edge; 
}; 
struct Face {
Halfedge* edge;
}; 
struct Mesh {
Vertex verts[V]; 
Face faces[F]; 
Halfedge edges[3F];
}; 

4
New cards

What’s an advantage with Indexed Face lists?

Memory-efficient

5
New cards

What’s a disadvantage with Independent Face lists?

Redundant storage

6
New cards

Equation for face normal assuming CCO

ni = Ni / ||Ni||, Ni = (Vi,2 - V1) x (Vi,3 - V1)

7
New cards

Equation to normalize Normal

nu(V1) = n(Vi) / ||n(Vi)||

8
New cards

Equation for triangle area

½ ||Ni||

9
New cards

Equation for vertex normal

n(V1) = sum(ni)

10
New cards

Equation for area weighted vertex normal

n(V1) = sum(Ai*ni)

Explore top notes

note
Chapter 33: Irritant Poisons
Updated 1060d ago
0.0(0)
note
Lights Mirror and Lenses
Updated 1242d ago
0.0(0)
note
Exam 2 All about Cells
Updated 1218d ago
0.0(0)
note
Phonation
Updated 1038d ago
0.0(0)
note
The Gods Aphrodite-Dionysus
Updated 1212d ago
0.0(0)
note
Chapter 33: Irritant Poisons
Updated 1060d ago
0.0(0)
note
Lights Mirror and Lenses
Updated 1242d ago
0.0(0)
note
Exam 2 All about Cells
Updated 1218d ago
0.0(0)
note
Phonation
Updated 1038d ago
0.0(0)
note
The Gods Aphrodite-Dionysus
Updated 1212d ago
0.0(0)

Explore top flashcards

flashcards
Subtracting Integers Flashcards
25
Updated 1203d ago
0.0(0)
flashcards
Wills Trusts + Estates
244
Updated 82d ago
0.0(0)
flashcards
4th Form Biology Autumn Term B
34
Updated 401d ago
0.0(0)
flashcards
PHYSMOD_ ES FOR WOUND HEALING
29
Updated 501d ago
0.0(0)
flashcards
Sadlier-Oxford Level F - Unit 5
20
Updated 1125d ago
0.0(0)
flashcards
APUSH | Degler Essays Review
26
Updated 667d ago
0.0(0)
flashcards
Subtracting Integers Flashcards
25
Updated 1203d ago
0.0(0)
flashcards
Wills Trusts + Estates
244
Updated 82d ago
0.0(0)
flashcards
4th Form Biology Autumn Term B
34
Updated 401d ago
0.0(0)
flashcards
PHYSMOD_ ES FOR WOUND HEALING
29
Updated 501d ago
0.0(0)
flashcards
Sadlier-Oxford Level F - Unit 5
20
Updated 1125d ago
0.0(0)
flashcards
APUSH | Degler Essays Review
26
Updated 667d ago
0.0(0)