Posted By: sheefo
terrain chunking - 07/20/08 12:28
Whats the deal with terrain chunk? I have a terrain 256x256 vertices and terrain_chunk set to 32. 256/32 = 8. So I should have 8 chucks with exactly 32x32 vertices.
I end up with 33x33 vertices on all chunks except the last ones in each row, which are 32x32. So the total of vertices is 259x259 instead of 256x256. There is one extra vertex on most chunks... why!?
The math is all wrong when I try to access each vertex on each mesh and write data to a buffer. Is this some sort of technique or is it a bug?
I end up with 33x33 vertices on all chunks except the last ones in each row, which are 32x32. So the total of vertices is 259x259 instead of 256x256. There is one extra vertex on most chunks... why!?
The math is all wrong when I try to access each vertex on each mesh and write data to a buffer. Is this some sort of technique or is it a bug?