dilevin / computer-graphics-meshes

Computer Graphics Assignment about Meshes
1 stars 5 forks source link

What exactly does VF store #35

Closed amirhmk closed 4 years ago

amirhmk commented 4 years ago

From vertex_triangle_adjacency:

f=VF[i][j] means that face f
//     is the jth face among those incident on vertex i

Is VF just a list that represents the total number of triangles a vertex makes? Little unsure what the int of that list represents?

So for instance something like [[0,1,2], [3,4], [5,6], [7]] could be what VF looks like, and VF[1][1] would be 4, but what is this 4 even mean? We have to number the faces uniquely?