   Strange Artifacts on a Simple Heightmap Terrain using TriStrips
  I'm getting some wierd artifacts when I render a simple heightmapped terrain.  The artifacts appear on the last strip (column actually).  I thought it was due to the degenerate triangles, but I don't have a degenerate triangle on the last column.Anyway, here's some pictures (sorry about the colors):View 1View 2View 3Also, here's the code I use to generate the triangle indices (very sloppy at the moment, bare with me):    for( int col = 0 ; col < terrainSize - 2 ; col++ ){for( int row = 0 ; row < terrainSize ; row++ ){indexArray[currentIndex++] = (short)( row * terrainSize + col );indexArray[currentIndex++] = (short)( row * terrainSize + col + 1 );}indexArray[currentIndex++] = (short)( (terrainSize-1) * terrainSize + col + 1 );}for( int row = 0 ; row < terrainSize ; row++ ){indexArray[currentIndex++] = (short)( row * terrainSize + terrainSize - 2 );indexArray[currentIndex++] = (short)( row * terrainSize + terrainSize - 1 );}Anyone ever have a problem like this?  I think I may be creating the degenerate triangles incorrectly.  Any hints would be much appreciated.Kory   "The pioneers of a warless world are the youth who refuse military service" - Albert Einstein--Edit: Stupid formatting  --[edited by - kspansel on February 10, 2004 3:00:24 AM][edited by - kspansel on February 10, 2004 3:01:56 AM]