map -> rectangular heightmap of contiguous raw altitudes #27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
currently we are allocating heap space of a point basis for each altitude, as well as storing our grid indirectly through nested arrays ;
this aims to move from such a model the only benefit of which is supporting lines of differing lengths which is a fairly niche use case that may be better implemented as a potential mask since we have no obvious NaN value for integers.
this would slightly reduce memory footprint and make freeing the heightmap much more straightforward ; it may also speed up map loading in going from one malloc call per point to one call for the entire grid.
this is but one possible arrangement for a mesh, and while it certainly constitutes a worthwhile optimisation, i will save this for future milestone.
ideally, we would generalise meshes to graphs rather than grids or nested arrays.
that's one more for the backlog pile.
as far as the foundation milestone is concerned, we will actually disable non strictly rectangular height maps so that the current draw_segments won't need to be reconsidered.