#### Archived

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

# Triangle Strip Grid??

This topic is 6181 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Ok, this is going to sound really stupid, but I''m having a problem with it anyway! How can I get a triangle strip (Direct 3D) to layout in a gridlike pattern for a landscape? I can do one row just fine...
B   D   F   H
|\  |\  |\  |
| \ | \ | \ |  [ etc. ---> ]
|  \|  \|  \|
A   C   E   G

The problem comes when I try to start forming the second row. I can''t seem to make the "turn" to the next row. Can anyone help my retardation?

##### Share on other sites
G''day!

B D F
|\ |\ |
| \| \|
AK CI EG
|\ |\ |
| \| \|
L J H

Does that make sense? I think that should work. I haven''t tried it of course. The badly done graphic is s''posed to show that A==K, C==I, E==G. Triangle FGH has an area of 0, so it will not be rendered, it''s a ''degenerate'' triangle and is used to link strips. I know the theory is right, I may have the winding order of the vertices wrong though.

Stay Casual,

Ken
Drunken Hyena

##### Share on other sites
I''ll give it a try. Of course, I should do indexing so I don''t have to redefine the vertices, but one thing at a time!

-M