Leonardo
cdeba2616c
Re-Introduced HEIGHMAP mode correctly.
...
Added single get and add to the LevelContainer to avoid using temp arrays
2021-09-15 13:23:41 +02:00
James Seibel
7f9c7d8722
Merge branch '1.16.5' of gitlab.com:jeseibel/minecraft-lod-mod into
...
1.16.5
# Conflicts:
# src/main/java/com/seibel/lod/builders/LodBufferBuilder.java
2021-09-14 23:46:01 -05:00
James Seibel
aebbeb6ade
Simplify the multi-context uploading, improve stability, and refactor
2021-09-14 22:49:08 -05:00
James Seibel
a945eb4579
Fully add multi-context uploading
2021-09-14 21:27:36 -05:00
Leonardo
f9cf27a2c7
Changed the dataPoint, started the introduction of the lightmap use
2021-09-14 23:21:48 +02:00
Leonardo
75e78d9000
First vertical data working
2021-09-13 17:34:37 +02:00
James Seibel
8822e2d8a1
partially add different context rendering
2021-09-12 23:14:43 -05:00
Leonardo
5c05df0361
changed the thread names
2021-09-10 18:20:33 +02:00
Leonardo
21140593e2
Started convertion for vertical data
2021-09-10 01:05:12 +02:00
Leonardo
aa3dbe8f32
Fixed the allocation of long[]
2021-09-09 14:10:45 +02:00
James Seibel
a9b50cdb32
remove invalid imports / organize imports
2021-09-07 19:10:30 -05:00
Leonardo
bd9e2acaf6
Changed the default heigth and depth and small fix to the culling
2021-09-08 00:23:44 +02:00
Leonardo
1e15d372c4
Added box caching
2021-09-07 21:22:12 +02:00
Leonardo
94d994e761
re-added the commit
2021-09-07 18:52:58 +02:00
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
a1aa90cccb
Split up the configs to make it easier to understand
2021-09-01 21:39:02 -05: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
e65579f346
temporary fix to the missing region bug
2021-08-31 18:08:02 +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
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
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
James Seibel
9277b3ad38
Add different debug modes (off, detail, detail_wireframe)
2021-08-28 11:04:59 -05:00
James Seibel
acc73af666
Remove some debugging
2021-08-28 10:00:11 -05:00
James Seibel
a32b66aaab
organize imports
2021-08-27 18:05:27 -05:00
Leonardo
36079e1624
fix to the Rendering holes
2021-08-28 00:16:44 +02:00
Leonardo
8db782a406
Now nodeToRender is fully automatic
2021-08-27 23:05:37 +02:00
Leonardo
dd018f90d3
Small change
2021-08-27 18:47:42 +02:00
Leonardo
af4e30588f
new z fix
2021-08-27 18:27:37 +02:00
Leonardo
2630d50147
temporary z fix
2021-08-27 17:43:17 +02:00
Leonardo
db2410e7fe
changed indent
2021-08-27 14:34:43 +02:00
Leonardo
9990132db2
small changes
2021-08-27 14:31:13 +02:00
Leonardo
21069d6479
Optimization to getLodToRender
2021-08-27 12:02:02 +02:00
Leonardo
783c0c97a1
Preparing the BufferBuilder for new system
2021-08-27 11:28:29 +02:00
Leonardo
c169cb6b7f
Changed how color are calculated
2021-08-26 23:02:32 +02:00
Leonardo
ab7ed9a4c5
Optimized getDataToGenerate
2021-08-26 20:13:32 +02:00
Leonardo
347b149037
The generation is working now
2021-08-26 17:41:01 +02:00
Leonardo
70317a37cb
fixed LevelPos and colors
2021-08-26 14:28:27 +02:00
Leonardo
74e4744ff7
Correctly removed LodDataPoint and optimized the LevelPos use
2021-08-26 13:18:18 +02:00
Leonardo
525005bcb6
small changes to how the node to render are chosen
2021-08-25 12:26:16 +02:00
Leonardo
488d520b8f
Improved the template, shared faces are not rendered
2021-08-25 10:55:05 +02:00
Leonardo
30bb175ea0
small changes
2021-08-25 08:17:39 +02:00