Hi !
Is it better to have one submesh with one triangle list or is it better to use multiple submeshes with trianlge strips?
AFAIK having multiple submeshes restarts GPU unneccessarily often, while using triangle lists has an higher impact on memory usage. Is that everything?
Having one submesh represented as a triangle strip and also represented as a triangle list, is the 2nd one just larger or also a bit slower? Or is it really just more memory that is needed and if there is enough, there is no difference in speed?
Marc
triangle list vs. triangle strips
-
- Gremlin
- Posts: 182
- Joined: Tue Jan 25, 2005 7:56 am
- Location: Germany
-
- OGRE Retired Moderator
- Posts: 4823
- Joined: Fri Jun 18, 2004 1:40 pm
- Location: Berlin, Germany
- x 7
Re: triangle list vs. triangle strips
There really shouldn't be a noticable speed difference between the two, so the overhead provoked by having multiple render operations for the submeshes is clearly greater than a possible benefit.Marc wrote:Having one submesh represented as a triangle strip and also represented as a triangle list, is the 2nd one just larger or also a bit slower? Or is it really just more memory that is needed and if there is enough, there is no difference in speed?
-
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
-
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
Strips only give you a major benefit on cards with little or no vertex cache, or when VRAM is at a serious premium that saving index buffer space is worth it (read - PlayStation 2). Beyond that, it makes little difference - a test I did even showed strips to be slightly slower than lists when rendering lots of terrain patches.
-
- Gremlin
- Posts: 182
- Joined: Tue Jan 25, 2005 7:56 am
- Location: Germany
-
- Gnoblar
- Posts: 7
- Joined: Mon Feb 16, 2004 7:48 am
- Location: NY,US
Actually tri-trip is not so good as rumors said. 
You could refer to http://research.microsoft.com/%7Ehoppe/ (Vertex cache series) for more information.

You could refer to http://research.microsoft.com/%7Ehoppe/ (Vertex cache series) for more information.