From 648a70097ae7a9222e0df8ff9b7ff69a8d88c51a Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sun, 30 May 2021 13:52:38 -0500 Subject: [PATCH] Add a comment about the LodChunk resolution change --- .../java/com/backsun/lod/objects/LodChunk.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/java/com/backsun/lod/objects/LodChunk.java b/src/main/java/com/backsun/lod/objects/LodChunk.java index da6bddbd8..e054e7667 100644 --- a/src/main/java/com/backsun/lod/objects/LodChunk.java +++ b/src/main/java/com/backsun/lod/objects/LodChunk.java @@ -33,6 +33,20 @@ public class LodChunk /** The z coordinate of the chunk. */ public int z = 0; + /* + * The reason we are only using 1 height and depth point + * instead of multiple is because: + * 1. more points would drastically increase the amount of + * memory and disk space needed + * 2. more height/depth points require more color points, + * which can get out of hand quickly + * 3. with the increased disk space reading/writing would + * take far too long + * 4. the increased resolution is generally not worth it, + * 4 LODs per chunk is the limit of diminishing returns. + * And some of that could potentially be faked through + * smart LodTemplates + */ private short height; private short depth;