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
Study guide
Updated 517d ago
0.0(0)
note
DEMOCRACY+PARTICIPATION:
Updated 1082d ago
0.0(0)
note
English Poetry Unit Test
Updated 1252d ago
0.0(0)
note
Trends in the Periodic Table_2
Updated 464d ago
0.0(0)
note
digestive system
Updated 1317d ago
0.0(0)
note
Unit 7: Gravitation
Updated 1064d ago
0.0(0)
note
Study guide
Updated 517d ago
0.0(0)
note
DEMOCRACY+PARTICIPATION:
Updated 1082d ago
0.0(0)
note
English Poetry Unit Test
Updated 1252d ago
0.0(0)
note
Trends in the Periodic Table_2
Updated 464d ago
0.0(0)
note
digestive system
Updated 1317d ago
0.0(0)
note
Unit 7: Gravitation
Updated 1064d ago
0.0(0)

Explore top flashcards

flashcards
Vertebrati da finire
63
Updated 415d ago
0.0(0)
flashcards
TKM Vocab Part 1
32
Updated 514d ago
0.0(0)
flashcards
Unit 6 Vocab
25
Updated 839d ago
0.0(0)
flashcards
FsPL Midterms
81
Updated 516d ago
0.0(0)
flashcards
Untitled
26
Updated 1030d ago
0.0(0)
flashcards
apush unit one terms !!!!!
42
Updated 923d ago
0.0(0)
flashcards
sound waves
43
Updated 1189d ago
0.0(0)
flashcards
Vertebrati da finire
63
Updated 415d ago
0.0(0)
flashcards
TKM Vocab Part 1
32
Updated 514d ago
0.0(0)
flashcards
Unit 6 Vocab
25
Updated 839d ago
0.0(0)
flashcards
FsPL Midterms
81
Updated 516d ago
0.0(0)
flashcards
Untitled
26
Updated 1030d ago
0.0(0)
flashcards
apush unit one terms !!!!!
42
Updated 923d ago
0.0(0)
flashcards
sound waves
43
Updated 1189d ago
0.0(0)