News for hackers. Stuff that matters.
Re:Rendering large terrains by merpnderp on Monday March 10, 2014 @10:46AM (#7373168)
If the inner level is 1x1 and the other level is 5x5 and the inner level moves by 1 unit, then the outer level will have to move by 1/5 of its 5x5 units (1). Thus the outer level will not move by its proper grid snapping amount.

Or am I missing something?

Re:Rendering large terrains by pheelicks on Monday March 10, 2014 @11:18AM (#7373393)
The grid snap happens after the movement. You are correct that the higher level grid may not move. To fix this, the higher resolution tiles (1x1 in your example) are morphed near their edges so that gaps do not appear. I cover this in the blog post, see the 'Morphing between regions' section
Re:Rendering large terrains by merpnderp on Monday March 10, 2014 @11:24AM (#7373425)
I still don't think I understand. If the 1x1 level moves, and didn't overlap the 2x2 outer ring, and the 2x2 outer ring doesn't move (the camera hasn't triggered a 2x2 move yet, just the 1x1), then there is now a gap in the opposite direction of the 1x1 move. That's why trigger rally uses the overlapping geometries, so that a 1x1 level can move and in the direction of the move the overlapping geometries double up and in the opposite direction, they no longer overlap at all (it uses morphing also so that the overlapping geometries have vertices in the exact same spots).
Re:Rendering large terrains by pheelicks on Monday March 10, 2014 @01:02PM (#7374120)
Imagine instead that each ring is joined by a set of springs, which can be compressed down to zero and extended to the difference in the grid snapping between the 2 rings. As the rings snap to different grids the springs extend and contract to fill the gaps. Now place some vertices on these springs and you have a terrain mesh, where the majority of vertices are snapped to locations depending on the LOD, except those joining the rings, which such that the transitions between the layers are seamless
Re:Rendering large terrains by merpnderp on Monday March 10, 2014 @01:59PM (#7374553)
You are a genius :)