Hey guys, I'm trying to figure out the method to the madness of counting vertices on, what will be, a terrain grid. I know the following link is C#, and I'm actually doing this in XNA, but the concept is universal so I thought I'd ask it here since DBP get's the most traffic, lol.
http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series1/Indices.php
How they heck are they counting this? It doesn't even look clockwise to me! Yet, according to common practice, vertices are drawn in a clockwise manner, otherwise, they are culled. The first image doesn't even make sense.
Does anyone understand the pattern here? I just want to be able to know this so I can understand what's going on here. I hate using code I don't know.
On a funny note, I remember doing something very similar to this a few years ago with Jason P Sage as he was teaching me how to do this in DBP with memblocks. Meanwhile, I guess I'll try and look that up!
"If I have seen a little further it is by standing on the shoulders of Giants" - Isaac Newton
Current Project:
http://strewnfield.wordpress.com/ (Last updated 06/11/09)