Jump to content
  • Advertisement

Archived

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

silvermace

drawing 'x' number of 10 vert sets

This topic is 5625 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
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!