Archived

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

SoD

Triangle Strips

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
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