The wavefront format (.obj) contains several abbreviations for vertex information:
v 1 2 3 #vertex position (x y z)
vt 1 2 #texture coordinate (u v)
vn 1 2 3 #normal direction (x y z)
and definition of a triangle (surface):
f 1/2/3 4/5/6 7/8/9 #Triangle with texture coordinate and normal direction.
f 1/2 3/4 5/6 #Triangle with texture coordinate
f 1 2 3 #Triangle without additional information
f 1//2 3//4 5//6 #Triangle with normal direction
However, counting vertices is complicated:
When using a graphics API, the vertex information must be formatted in a different way. Let's say we have only 2 triangles that share an edge. The wavefront obj file can look like this:
v 0 0 0
v 0 1 0
v 1 0 0
v 1 1 0
vn 0 0 1
f 1//1 2//1 3//1
f 2//1 4//1 3//1
Here we can say that the mesh contains 4 vertices with 2 faces. But if you change to the following:
v 0 0 0
v 0 1 0
v 1 0 0
v 1 1 0
vn 0 0 1
vn 0 1 1
f 1//1 2//1 3//1
f 2//2 4//2 3//2
then the graphics API must generate 6 vertices: three vertices for the first vertex v1, v2 and v3 with normal n1 and three vertices for the second triangle v2, v4 and v3 with normal n2. Thus, the vertices v2 and v3 must be generated twice because they have different normal directions.
Optimization algorithms can also play a role, for example if n1 is equal to n2, you only need 4 vertices. But does the software (MeshLab, 3D viewer) check this kind of optimization? I don't.
For non-textured objects, the type of shading also matters: if you use flat shading for our example, you need 6 vertices because both v2 and v3 get two normal directions. With Gouraud shading, you need only 4 vertices, since the multiple normal directions of a vertex result in only one normal direction, which affects the shading of both triangles (faces).
As you can see, your question cannot be answered without additional information.
3
, I 3D viewer is out of the list. Now, if I want to use the vertices number for a publication, I need a reference point. May be either McGuire as a reference point, or not use the number at all. $\endgroup$