Archived

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

drawing 'x' number of 10 vert sets

This topic is 5376 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, i was wondering if there was a way to render 0->count number of verts but every 10 verts makes up a new face i was thinking glDrawElements but that dosnt facilitate what i need.. and does anyone know how to turn say 5x(10 vert) tri-strips into 1 triangle fan?? this is what im using right now:
  
for( int i = 0; i < pFace->n_verts; i+=10)
	glDrawArrays(mode, pFace->begin_index_verts + i, 10);

  
thanx in advance for any help -- a dancing person appears insane to those who cannot hear the music http://homepages.paradise.net.nz/danu/ -- Just click it

Share this post


Link to post
Share on other sites