Archived

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

Triangle Strip Grid??

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

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


Link to post
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 this post


Link to post
Share on other sites