Jump to content

  • Log In with Google      Sign In   
  • Create Account


Number of vertices and number of triangles in modern game


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 313230   Members   -  Reputation: 120

Like
0Likes
Like

Posted 02 January 2013 - 10:15 PM

Which is more?

 

Is that number of vertices always triples the number of triangles?


Thanks



Sponsor:

#2 rdragon1   Crossbones+   -  Reputation: 1198

Like
2Likes
Like

Posted 02 January 2013 - 10:23 PM

No, vertices can be shared between adjacent triangles, as long as all attributes match (position, normal, uv, whatever). For example, vertices along a 'hard edge' (not shared normals) are not shared between adjacent triangles. At maximum, numVertices = numTriangles*3, but there is as much sharing as possible.



#3 RulerOfNothing   Members   -  Reputation: 1160

Like
0Likes
Like

Posted 02 January 2013 - 10:23 PM

You always have more vertices than triangles (assuming all your geometry is made up of triangles), but it is possible to reuse vertices between triangles (by having all triangles with a common vertex or by having consecutive triangles share 2 of their vertices) so there can be less than three vertices per triangle.

#4 Álvaro   Crossbones+   -  Reputation: 12895

Like
1Likes
Like

Posted 03 January 2013 - 02:03 AM

You always have more vertices than triangles (assuming all your geometry is made up of triangles)

Even that's not true. An icosahedron has 12 vertices but 20 triangles.

#5 MJP   Moderators   -  Reputation: 10854

Like
1Likes
Like

Posted 03 January 2013 - 02:27 AM

You always have more vertices than triangles (assuming all your geometry is made up of triangles)

 

Not only is that false, but it's actually opposite of the common case. Typically you have more triangles than vertices.



#6 313230   Members   -  Reputation: 120

Like
0Likes
Like

Posted 03 January 2013 - 03:26 AM

Many thanks






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS