Leonardo
f76fa17e25
Removed level pos and data arrays
2021-09-07 17:23:22 +02:00
James Seibel
53a66268cb
Close issue #37 (z-fighting far from the origin)
...
I'm not certain why in LodRenderer swapBuffers has to be called after the frame has been rendered, but otherwise it causes stuttering / rubber banding.
2021-09-06 22:51:46 -05:00
James Seibel
139867d4b8
auto-indent
2021-09-06 12:17:49 -05:00
James Seibel
81cf05ba19
fix a issue where nothing renders in the compiled version
2021-09-06 11:55:44 -05:00
James Seibel
13a1e7ed56
Add the MinecraftWrapper
2021-09-06 11:20:32 -05:00
Leonardo
69ba83d34f
small change to far Fog
2021-09-05 16:15:14 +02:00
James Seibel
e048d277f8
Merge branch '1.16.5' of gitlab.com:jeseibel/minecraft-lod-mod into 1.16.5
2021-09-04 11:01:26 -05:00
James Seibel
0bca47a92b
Update pack.mcmeta
...
I don't even know if we need this file
2021-09-04 11:01:05 -05:00
James Seibel
ce84b30ddb
Change a println to use the logger
2021-09-04 11:00:54 -05:00
Leonardo
1843f96526
various fix to the new classes
2021-09-04 12:48:22 +02:00
Leonardo
e46864431b
Fixing the new classes
2021-09-03 23:33:54 +02:00
Leonardo
152a3fa108
Optimized the generation memory use
2021-09-03 22:35:08 +02:00
Leonardo
3420133bd3
Added LevelPosUtil, PosToGenerateContainer and PosToRenderContainer to be used in the future
2021-09-03 19:34:04 +02:00
Leonardo
c79bf7c3f7
Fixed chunk data generation during first world loading
2021-09-03 13:10:16 +02:00
James Seibel
2219da4050
revert the fog changes
2021-09-01 21:47:31 -05:00
James Seibel
a1aa90cccb
Split up the configs to make it easier to understand
2021-09-01 21:39:02 -05:00
Leonardo
d19abaef7b
small fix to a bug that was causing crash if the player went over y 256
2021-09-01 18:20:51 +02:00
Leonardo
77625c65c7
small fix
2021-09-01 18:11:25 +02:00
Leonardo
91ba48ad4a
Max draw detail now works correctly and node bigger than a chunk do not disappear if you touch a border
2021-09-01 18:11:01 +02:00
Leonardo
32e587d536
Small fix to the index of vanillaRenderedChunks
2021-09-01 17:27:37 +02:00
Leonardo
e3dfe658f5
Fixed chunkPos being created multiple time in the buffer
2021-09-01 17:20:52 +02:00
Leonardo
4e249e943a
Revert "Added LevelPosUtil, now the node are added using it and not with the LevelPos object"
...
LevelPos are useful and the small stutter in the buffer builder is probably caused by the creation of ChunkPos
2021-09-01 16:33:34 +02:00
Leonardo
1360edb459
Added LevelPosUtil, now the node are added using it and not with the LevelPos object
2021-09-01 15:15:23 +02:00
James Seibel
4c7ca395c6
Add the buffer rebuild timeouts to ClientProxy.applyConfigOverrides()
2021-08-31 21:14:19 -05:00
James Seibel
a1c720d588
Fix a issue where the projection matrix was given a depth of 0
...
This caused the depth buffer to stop working.
2021-08-31 21:05:53 -05:00
James Seibel
7b09840d02
Organize inputs
2021-08-31 19:26:17 -05:00
Leonardo
e65579f346
temporary fix to the missing region bug
2021-08-31 18:08:02 +02:00
Leonardo
78d6481a49
Another small fix
2021-08-31 12:55:42 +02:00
Leonardo
1428e72d46
small fix to the generation
2021-08-31 11:47:18 +02:00
James Seibel
2c2c6d6785
Add configs for buffer building timeouts and small refactors
2021-08-30 23:16:27 -05:00
Leonardo
d5d48f2448
now the vanillaRenderedChunk is reset if the player goes to high
2021-08-30 23:41:56 +02:00
Leonardo
536de1a22d
fixed a small error with the timer
2021-08-30 23:25:37 +02:00
Leonardo
193c579712
changed the generation. Added re-use of levelPos
2021-08-30 23:03:22 +02:00
Leonardo
cdba7b20f5
Buffer that does not change won't be rebuilt
2021-08-30 17:55:34 +02:00
Leonardo
5467d007b8
preparing the mod for future buffer caching
2021-08-30 12:36:07 +02:00
Leonardo
b24d691d8a
Removed a useless temp Object in the getNodeToRender
2021-08-30 10:36:15 +02:00
James Seibel
f68e6a9a13
Add a config option to disable the F4 keybinding
2021-08-29 21:23:16 -05:00
James Seibel
2dcdc854e3
Improve stone color
2021-08-29 21:09:30 -05:00
James Seibel
42da213ea9
Update the mod meta info
2021-08-29 16:35:59 -05:00
James Seibel
d8b4730ee0
Remove a unneeded depreciation suppression warning
2021-08-29 14:20:18 -05:00
Leonardo
74cbf794a1
the culling in templace can be disabled using the disableCulling boolean
2021-08-29 18:22:41 +02:00
Leonardo
812fa65054
divided the time checker for the regen
2021-08-29 17:18:21 +02:00
Leonardo
ba63b44288
small change
2021-08-29 16:44:36 +02:00
Leonardo
b19a80f411
Optimized the regen
2021-08-29 16:42:44 +02:00
Leonardo
450f15ad36
Finally fixed the regen problem
2021-08-29 10:56:14 +02:00
James Seibel
a6ed4968f5
Add a config option for the number of buffer builder threads
2021-08-28 23:38:51 -05:00
James Seibel
65dc629771
Remove a unsettable configOverride
2021-08-28 23:38:16 -05:00
James Seibel
cd792d7045
Fix a potential crash where Setupbuffers isn't called fast enough for the BufferBuilder
2021-08-28 17:13:17 -05:00
Leonardo
3ade43651f
small Optimization to the buffer
2021-08-28 20:55:18 +02:00
Leonardo
f4c3ad8bb5
Fixed the garbage collector being called too much
2021-08-28 20:32:58 +02:00