Triangle Strips

Started by
1 comment, last by Goblin 23 years, 3 months ago
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
- The Goblin (madgob@aol.com)
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
Damn font ruined my pretty picture... you get the idea anyway.

This topic is closed to new replies.

Advertisement