• Advertisement

Archived

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

Triangle Strips

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

To my inexperienced, just-jumping-into-3D-ness... Triangle Strips appeared to be drawing triangles from the last 2 plus the one you next define so it would be: 1 3 | 5 7 | | | 2 4 | 6 8 | etc. (for sides of a cube) Something tells me I''m incredibly wrong, because then I wouldn''t be able to create an entire cube, just the sides around it, not the top/bottom. Help? ----------------- The Goblin ----------------- "Oh, God..." "Yes?" <- My Response

Share this post


Link to post
Share on other sites
Advertisement
You are wrong, but you still can''t do a cube with a triangle strip without hiding some vertexes.

Assume 6 vertexes a,b,c,d,e,f

Then the triangles rendered, in order, are:

(a,b,c)
(b,d,c)
(c,d,e)
(d,f,e)

a---c---e
| /| /|
| / | / |
|/ |/ |
b---d---f

Each triangle is rendered using one additional vertex (not two) with the two previous.

Later,
Seedload

Share this post


Link to post
Share on other sites

  • Advertisement