Commit Graph

244 Commits

Author SHA1 Message Date
James Seibel 6ad8d824bd Update the readme to reflect the state of this branch 2021-02-28 22:24:18 -06:00
James Seibel 53ee2123c1 Add the state of the project in the Readme 2021-02-27 05:04:41 +00:00
James Seibel fe3ace7d35 update lodCore 2021-02-25 14:12:09 -06:00
James Seibel 4d4dff2373 Remove more lingering ASMHelper code 2021-02-25 10:46:39 -06:00
James Seibel f388911468 Update to forge 1.12.2-14.23.5.2854 2021-02-25 10:33:10 -06:00
James Seibel 9704ad80f1 Remove a lingering reference to ASMHelper 2021-02-24 15:17:24 -06:00
James Seibel 026d9a425e Remove optifine from the home directory 2021-02-24 15:15:59 -06:00
James Seibel 85bff28758 Update the reflectionHandler to better handle missing optifine 2021-02-24 15:03:31 -06:00
James Seibel 213060d473 Fix issue #1 (LODs not being rendered at full distance)
This was fixed by using the pigeon hole principle to balance the number of rows each CPU needs to generate buffers for; while also preventing any rows from being missed (the cause of issue #1).
2021-02-24 13:31:24 -06:00
James Seibel ca400ccf59 Add java doc comments to variables in LodRenderer 2021-02-24 13:28:18 -06:00
James Seibel 9dc6d17d7b Fix issue #5 (teleporting not regenerating LODs) 2021-02-23 21:42:49 -06:00
James Seibel 15d3af3c66 Add a comment for issue #5 2021-02-23 15:29:25 -06:00
James Seibel d9d1c4dfaf Fix issue #2
The center of the LodDimension was accidentally being added to the region coordinate, causing the wrong region to be selected at times.
2021-02-23 15:20:12 -06:00
James Seibel 1c2974cf6a Add comment for issue #4 2021-02-23 15:18:21 -06:00
James Seibel c353335968 Clean up LodChunk toString 2021-02-23 15:15:49 -06:00
James Seibel 2ee76a413f Refactor, comment, and clean up everything
This adds comments to almost every class, removes a few classes that weren't being used, improves the names of a number of methods, and does a bunch of random polishing/cleaning.
2021-02-23 08:19:37 -06:00
James Seibel 7b074fc155 Remove the clear buffers and remove a completed TODO
The clear buffers are no longer needed since we are now using BufferBuilders instead of ByteBuffers (which also gives us a nice performance boost as well).
2021-02-22 14:32:33 -06:00
James Seibel 28220f62ad Update version number 2021-02-21 16:56:02 -06:00
James Seibel cc7e4359ec Make Builder objects to improve organization 2021-02-21 16:18:18 -06:00
James Seibel 72a292aeb6 Improve file organization 2021-02-21 13:54:00 -06:00
James Seibel ca8f63cf7d Replace ByteBuffers with BufferBuilders 2021-02-21 13:23:28 -06:00
James Seibel 4f518a0701 Implement async buffer generation 2021-02-21 09:14:02 -06:00
James Seibel b81253af67 Merge branch 'master' of gitlab.com:jeseibel/minecraft-lod-mod 2021-02-21 08:48:39 -06:00
James Seibel fd3d4e92af Update to the newest version of OptifineDevTweaker 2021-02-21 08:40:04 -06:00
James Seibel 7418a196a9 Fix a few typos in the Readme 2021-02-21 08:39:20 -06:00
James Seibel 36c0244047 Add the LOD Core mod link to README 2021-02-16 04:25:19 +00:00
James Seibel b7b62989d4 Add a TODO 2021-02-15 22:23:09 -06:00
James Seibel be78ca865f Remove ASMHelper since it wasn't being used 2021-02-15 21:35:49 -06:00
James Seibel 9e2982dc1e Improve a few variable names and remove a TODO 2021-02-15 21:28:58 -06:00
James Seibel 789899747c Move server related TODO comment 2021-02-15 21:17:26 -06:00
James Seibel 945fa03271 Fix a regressive bug that caused camera stuttering 2021-02-14 21:26:59 -06:00
James Seibel 7a03db2a0c Remove useless config options 2021-02-14 17:36:46 -06:00
James Seibel 2068d5102f Improve variable names and improve fast fog 2021-02-14 17:28:20 -06:00
James Seibel 1d4a57646e Replace MINECRAFT_CHUNK_WIDTH with LodChunk.WIDTH 2021-02-14 16:42:23 -06:00
James Seibel 8d3f4898b9 Use LodChunk.WIDTH instead of a local constant 2021-02-14 16:19:35 -06:00
James Seibel 9cfeb30834 Rename FogDistance BOTH to NEAR_AND_FAR 2021-02-14 10:08:00 -06:00
James Seibel eec46f6f15 Fix a bug where changing the fogDistance wouldn't draw the LODs 2021-02-14 10:05:12 -06:00
James Seibel bace6d111b Simplify BuildBuffer buffer selection 2021-02-14 10:01:25 -06:00
James Seibel 5301b5d567 Fix a buffer bug related to building near and far incorrectly
Also correctly use the near and far buffers if only one is supposed to
be used
2021-02-14 10:00:42 -06:00
James Seibel 4baf60bc52 Set up and implement a config menu 2021-02-14 09:55:14 -06:00
James Seibel 4519cb86a0 Move the Fog enums into the enums folder 2021-02-14 09:53:51 -06:00
James Seibel e675448d82 Add a comment on the current lighting setup 2021-02-13 22:16:20 -06:00
James Seibel 687d8c3335 Fix a problem where the loaded regions are wide enough 2021-02-13 22:14:02 -06:00
James Seibel 6ec681b8b7 Fix a bug that could crash the game upon changing the number of buffer
threads
2021-02-13 22:13:34 -06:00
James Seibel a6c10dec29 Remove some unneeded code 2021-02-13 22:13:12 -06:00
James Seibel f3cd9a316e Implement near and far fog for LODs 2021-02-13 21:36:50 -06:00
James Seibel 608028a09f Refactor and Rename to improve readability in the LodRenderer 2021-02-13 19:52:25 -06:00
James Seibel 9d3cf90363 Improve multithreading buffer building and improve framerate overall 2021-02-13 19:16:53 -06:00
James Seibel 27678b90a3 Remove an unneeded line of code 2021-02-13 17:29:50 -06:00
James Seibel 61d33f6688 Improve how old ByteBuffers are cleared 2021-02-13 17:19:06 -06:00