Hey guys,
for 'fun' iwas just making my own terrain thing. It loads all the heights etc from a heightmap just like irrlicht does. Now i wanted to make LOD, so i just thought i'd make the loop have an OFFSET of pow(2, lod) which for lod one would devide terrain in two making the ttriangles twice the size of the original, and if you use 2 pow result is 4, which devides terrain in 4 and auto results in triangles being 4 times the size of the original.
now my question is, the terrain is an even terrain like the one in the media dir, being 256*256. Doing a simple math,
3x3 vertices = 4 quads
4x4 vertices = 9 quads
so an even amount of vertices result in an odd amount of quads, meaning that my lod thought doesn't work. Cause the last rows would be skipped, because it cannot devide it. I am not sure if you guys get what i mean, but i thought i'd ask you guys what you think i should do? If you have any tips...