Archived

This topic is now archived and is closed to further replies.

celic

nvTriStrip

Recommended Posts

I don''t know where is the problem, or it doesn''t generate correct, or I display incorrect ? PrimitiveGroup *pg, *map; ............ GenerateStrips(faceData, numInd, &pg, &numGrp); RemapIndices(pg, numGrp, pg->numIndices, &map); glEnableClientState(GL_VERTEX_ARRAY); glVertexPointer(3, GL_FLOAT, 0, vertData); ............ glDrawElements(GL_TRIANGLE_STRIP, map->numIndices, GL_UNSIGNED_SHORT, map->indices); maybe I use incorrect the glDrawElements()???

Share this post


Link to post
Share on other sites