post name kind of says it all, but I fixed what was wrong with the terrain. Here’s some basic pseudo code for terrain
for z
begin triangle_strip
for x
create 2 heights
vertex(x, height1, z)
vertex(x, height2, z+1) <== I was an idiot and didn’t have the +1 here
end x for loop
end triangle strip
end z for loop
Screenshot of fixed Terrain

Entries (RSS)
April 2nd, 2008 at 10:11 am
Pretty! I hate it when stuff like that happens — were you tired while coding? That’s when I get the worst.