Commit Graph

234 Commits

Author SHA1 Message Date
James Seibel 3d6ba0fad9 Remove a test mixin file 2021-02-27 17:22:48 -06:00
James Seibel 84bdd3dd90 Fix fog not rendering 2021-02-27 17:07:44 -06:00
James Seibel e81cd17ecf Fix the FOV being incorrect 2021-02-27 11:38:00 -06:00
James Seibel 58b0eafe29 Replace the old render logic with VBO rendering 2021-02-27 11:31:53 -06:00
James Seibel 336cfb0749 Remove duplicate files 2021-02-26 22:46:10 -06:00
James Seibel 0f5990e2f8 Remove an unneeded variable 2021-02-26 17:45:00 -06:00
James Seibel 7acad77eda Fix LOD color generation 2021-02-26 17:40:53 -06:00
James Seibel fb0ff2a00c Improve naming of methods in LodChunk 2021-02-26 13:39:08 -06:00
James Seibel ab7157476b Fix a potential null pointer exception 2021-02-26 13:38:54 -06:00
James Seibel 40bc930d34 Add missing info to a comment 2021-02-26 13:21:32 -06:00
James Seibel 9500805243 Fix lod file reading and writing 2021-02-26 13:19:52 -06:00
James Seibel f637e5fd44 Fix a possible casting error 2021-02-26 13:18:37 -06:00
James Seibel cfda8c9655 Bring over improvements and changes from the master branch 2021-02-26 10:31:34 -06:00
James Seibel cb04b2df09 Update Readme.txt 2021-02-21 08:33:46 -06:00
James Seibel f754467450 Initial work to update to 1.16.4 2021-02-21 08:31:03 -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
James Seibel 4237971f8d Fix an offset issue and remove fog related TODO 2021-02-13 16:56:06 -06:00
James Seibel 2bc7b4d1dc Fix debug coloring not working 2021-02-13 16:39:07 -06:00
James Seibel 7bc8b87935 Update version number for LodChunk 2021-02-13 16:29:17 -06:00
James Seibel bf86ca3bd7 Improve color and height generation for water 2021-02-13 16:28:47 -06:00
James Seibel c48fb2f040 Add a comment to LodDimension 2021-02-13 15:56:03 -06:00
James Seibel 6b4b053730 Improve generateLodChunk organization and fix a typo 2021-02-13 15:55:42 -06:00
James Seibel 1c3da8e244 Clean up LOD generation threads stopping unexpectedly
This doesn't fix the problem, it just prevents the threads from causing
trouble in the main thread.
2021-02-13 14:13:57 -06:00
James Seibel a051e2ee8f Remove debug line 2021-02-13 13:17:58 -06:00
James Seibel 6cdab282b3 Improve the lighting calculation 2021-02-13 13:17:24 -06:00
James Seibel de67a80809 Minorly improve spacing 2021-02-13 10:05:53 -06:00