Previous | Next --- Slide 19 of 36
Back to Lecture Thumbnails
emmurphy

How is the order of the vertices and polygons decided? or they are just in random order?

keenan

@emmurphy You should usually just assume that the order is arbitrary. Sometimes (read: very, very rarely) people perform extra work to put mesh elements in a cache-friendly order. For instance, here's a survey I wrote many, many years ago on cache-friendly mesh layouts for very large meshes. But typically when you're working with a mesh, or reading it off disk, it won't come in any special order.

ahhuang

Had the same question as above. So you can assume the order of the ijk's are irrelevant.

keenan

@ahhuang Yes, for just specifying the triangle you can ignore the order of i,j,k. But in some cases this ordering is important (e.g., for computing the normal vectors of a mesh consistently).