Jump to content
  • Advertisement

Archived

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

SoD

Triangle Strips

This topic is 6065 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

It''s possible to render a grid of a terrain with a single call of glBegin(GL_TRIANGLE_STRIP)? the easier way is to render a strip for each row of the map in a way like this: for(z=0;z

Share this post


Link to post
Share on other sites
Advertisement
It should be possible, but you''d have to use degenerate triangles (i.e. triangles with zero area), and I don''t know whether you would gain anything, you could try though.

I seem to remember reading that it is not recommended to use degenerate triangles to render as many triangles as possible in a strip, and that it would be better to split it into two render-calls. (I think I read it somewhere on nvidia''s site.)

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!