Archived

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

Zaei

Methods for creating a Tri-Strip Grid

Recommended Posts

Zaei    122
Does anyone have a method of creating a grid of any size using a single tri strip? I have tried several methods, but none seem to work. Any help is much appreciated. Z.

Share this post


Link to post
Share on other sites
PsyVision    130
Hey zaei :D

Maybe i can help you with this !

You have a for loop and scan across the z direction (into screen) and then glBegin(tristrip) then another loop for x (in which u plot the vertices) then glEnd() then the end of the first loop.

Shall post a thing for u on tow page in vbforums !

Share this post


Link to post
Share on other sites
Zaei    122
Nice to see someone I know around here =).

That is the way I am doing it now Psy, but for a Tri-Strip, you have to go back and forth, back and forth, like a snake.

Z.

Share this post


Link to post
Share on other sites