Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

If the triangle strips, while being disconnected, are all sharing the same material (shaders, textures, shader constants) then you can join them together with a degenerate triangle. Since degenerate triangles have zero area they should not show up. The only case they would is if you are drawing wireframe.

You make a degenerate triangle by defining the two of the three vertices as being the same. This is a bit complicated in triangle strips where you only use two vertices to define each triangle.

Look at the following diagram:

enter image description here

Triangle strip A,B,C is connected with triangle strip E,F via a degenerate triangle D. Triangle D would be defined as two points of C, then two points of E. In this way it is a zero-area triangle, but it is still connected.

You can find information on this stack overflow articlethis stack overflow article where the wireframe problem is illustrated.

If the triangle strips, while being disconnected, are all sharing the same material (shaders, textures, shader constants) then you can join them together with a degenerate triangle. Since degenerate triangles have zero area they should not show up. The only case they would is if you are drawing wireframe.

You make a degenerate triangle by defining the two of the three vertices as being the same. This is a bit complicated in triangle strips where you only use two vertices to define each triangle.

Look at the following diagram:

enter image description here

Triangle strip A,B,C is connected with triangle strip E,F via a degenerate triangle D. Triangle D would be defined as two points of C, then two points of E. In this way it is a zero-area triangle, but it is still connected.

You can find information on this stack overflow article where the wireframe problem is illustrated.

If the triangle strips, while being disconnected, are all sharing the same material (shaders, textures, shader constants) then you can join them together with a degenerate triangle. Since degenerate triangles have zero area they should not show up. The only case they would is if you are drawing wireframe.

You make a degenerate triangle by defining the two of the three vertices as being the same. This is a bit complicated in triangle strips where you only use two vertices to define each triangle.

Look at the following diagram:

enter image description here

Triangle strip A,B,C is connected with triangle strip E,F via a degenerate triangle D. Triangle D would be defined as two points of C, then two points of E. In this way it is a zero-area triangle, but it is still connected.

You can find information on this stack overflow article where the wireframe problem is illustrated.

added 382 characters in body
Source Link
Steven
  • 3.1k
  • 18
  • 24

If the triangle strips, while being disconnected, are all sharing the same material (shaders, textures, shader constants) then you can join them together with a degenerate triangle. Since degenerate triangles have zero area they should not show up. The only case they would is if you are drawing wireframe.

You make a degenerate triangle by defining the two of the three pointsvertices as being the same. This is a bit complicated in triangle strips where you only use two vertices to define each triangle.

Look at the following diagram:

enter image description here

trianglesTriangle strip A,B,C is connected with triangle strip E,F via a degenerate triangle D. Triangle D would be defined as two points of C, then two points of E. In this way it is a zero-area triangle, but it is still connected.

You can find information on this stack overflow article where the wireframe problem is illustrated.

If the triangle strips, while being disconnected, are all sharing the same material (shaders, textures, shader constants) then you can join them together with a degenerate triangle. Since degenerate triangles have zero area they should not show up. The only case they would is if you are drawing wireframe.

You make a degenerate triangle by defining the two of the three points as being the same.

Look at the following diagram:

enter image description here

triangles strip A,B,C is connected with triangle strip E,F via a degenerate triangle D. Triangle D would be defined as two points of C, then two points of E. In this way it is a zero-area triangle, but it is still connected.

You can find information on this stack overflow article where the wireframe problem is illustrated.

If the triangle strips, while being disconnected, are all sharing the same material (shaders, textures, shader constants) then you can join them together with a degenerate triangle. Since degenerate triangles have zero area they should not show up. The only case they would is if you are drawing wireframe.

You make a degenerate triangle by defining the two of the three vertices as being the same. This is a bit complicated in triangle strips where you only use two vertices to define each triangle.

Look at the following diagram:

enter image description here

Triangle strip A,B,C is connected with triangle strip E,F via a degenerate triangle D. Triangle D would be defined as two points of C, then two points of E. In this way it is a zero-area triangle, but it is still connected.

You can find information on this stack overflow article where the wireframe problem is illustrated.

added 382 characters in body
Source Link
Steven
  • 3.1k
  • 18
  • 24

If the triangle strips, while being disconnected, are all sharing the same material (shaders, textures, shader constants) then you can join them together with a degenerate triangle. Since degenerate triangles have zero area they should not show up. The only case they would is if you are drawing wireframe.

You make a degenerate triangle by defining the two of the three points as being the same.

Look at the following diagram:

enter image description here

triangles strip A,B,C is connected with triangle strip E,F via a degenerate triangle D. Triangle D would be defined as two points of C, then two points of E. In this way it is a zero-area triangle, but it is still connected.

You can find information on this stack overflow article where the wireframe problem is illustrated.

If the triangle strips, while being disconnected, are all sharing the same material (shaders, textures, shader constants) then you can join them together with a degenerate triangle. Since degenerate triangles have zero area they should not show up. The only case they would is if you are drawing wireframe.

You make a degenerate triangle by defining the two of the three points as being the same.

If the triangle strips, while being disconnected, are all sharing the same material (shaders, textures, shader constants) then you can join them together with a degenerate triangle. Since degenerate triangles have zero area they should not show up. The only case they would is if you are drawing wireframe.

You make a degenerate triangle by defining the two of the three points as being the same.

Look at the following diagram:

enter image description here

triangles strip A,B,C is connected with triangle strip E,F via a degenerate triangle D. Triangle D would be defined as two points of C, then two points of E. In this way it is a zero-area triangle, but it is still connected.

You can find information on this stack overflow article where the wireframe problem is illustrated.

Source Link
Steven
  • 3.1k
  • 18
  • 24
Loading