Leonardo
37db05d18f
added a borderChunk finder function
2021-09-30 01:38:39 +02:00
Leonardo
32d492f5f6
Changed some package and added a dimension to the buffer builders
2021-09-29 14:57:43 +02:00
James Seibel
d59f9dc4c6
Create pre-release a1.5.1
...
I made this version so hopefully someone could test if Vivecraft is just ignoring Minecraft's FOV when creating their projection matrices or if they are doing something more complicated.
2021-09-28 22:56:17 -05:00
James Seibel
9865b23e5b
Move MAX_ALLOCATEABLE_DIRECT_MEMORY to LodUtil
2021-09-28 21:29:25 -05:00
Leonardo
e5c1e67369
Changed various names, changed the memory calculator
2021-09-29 02:16:23 +02:00
James Seibel
85a0110af6
comments and regactor LodDimension
2021-09-27 07:59:55 -05:00
James Seibel
55c0c95339
Improve config wording
2021-09-24 07:37:14 -05:00
James Seibel
a93bb63c44
Fix an index out of bounds exception for vanillaRenderedChunks
2021-09-23 07:55:33 -05:00
Leonardo
da413f594e
Added different detail drop off option
2021-09-22 17:17:17 +02:00
Leonardo
fb480c2695
fix to memory use
2021-09-22 13:17:56 +02:00
Leonardo
688cb3f89a
New memory getter system
2021-09-20 18:58:02 +02:00
cola98765
3e634c082a
addressed couple warnings
2021-09-20 11:30:56 +02:00
James Seibel
34b92d1053
Fix #67 (LODs not rotating with camera) and #68 (LODs culled based on player direction, not camera)
2021-09-19 19:25:01 -05:00
James Seibel
1c9c72cfe3
Clean up a lot of warnings related to: type casting, unused variables, and unused imports
2021-09-18 17:06:41 -05:00
James Seibel
c110524c11
fix vanillaRenderedChunks having index out of bounds exceptions
2021-09-18 14:12:54 -05:00
James Seibel
5c59ba7a80
Prevent a error related to loading textures on a null clientWorld
2021-09-18 09:39:53 -05:00
James Seibel
d200a5ac24
Add the ability to disable direction based culling
...
This is a band aid fix for #68 , hopefully a better solution can be found in the future.
2021-09-17 23:33:21 -05:00
James Seibel
5099f85da6
Merge branch '1.16.5' of gitlab.com:jeseibel/minecraft-lod-mod into
...
1.16.5
# Conflicts:
# src/main/java/com/seibel/lod/render/LodRenderer.java
2021-09-17 23:11:28 -05:00
James Seibel
fd67d1ac66
Change setupProjectionMatrix to be mc version agnostic
...
Now the LOD projection matrix's zoom, transformation, distortion, etc. are all gotten dynamically from Minecraft's projection matrix.
Hopefully this should prevent camera mods from breaking the mod.
2021-09-17 22:57:20 -05:00
Leonardo
50ab424497
added regen for the lightmap
2021-09-17 15:57:01 +02:00
Leonardo
900467cef2
System uses lightmap now
2021-09-17 13:02:05 +02:00
cola98765
b008b70255
colors are better than it were... again
2021-09-17 00:05:29 +02:00
cola98765
6bc14fbb2d
brightness fix with real block colors TODO foliage
2021-09-16 18:12:22 +02:00
James Seibel
b5f32705e8
remove commented out code
2021-09-15 23:12:10 -05:00
James Seibel
8bc72af63f
Improve rendering performance and improve buffer building stability
...
Specifically improve the rendering speed so we can get over 100 fps again.
2021-09-15 22:01:52 -05: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
James Seibel
8822e2d8a1
partially add different context rendering
2021-09-12 23:14:43 -05:00
James Seibel
6ec146ba60
re-add depreciation warning suppressions
2021-09-09 19:06:09 -05:00
Leonardo
21140593e2
Started convertion for vertical data
2021-09-10 01:05:12 +02:00
Leonardo
878714dae3
Fixed the lod not showing at screen corner bug
2021-09-09 15:51:14 +02:00
Leonardo
e876d7bec6
Fixed the lod not showing at screen corner bug
2021-09-09 14:43:04 +02:00
James Seibel
18b8359f0d
rename the wrapper package to wrappers
2021-09-07 21:12:58 -05:00
James Seibel
7de4c7c72a
Make the reflection handler a singleton
2021-09-07 21:12:16 -05:00
James Seibel
40321d6e21
Remove unused variables, imports, etc.
2021-09-07 19:52:06 -05:00
James Seibel
7eed472029
Fix stuttering caused by a merge
2021-09-07 19:09:50 -05:00
Leonardo
b096cc53aa
Working version
2021-09-07 19:02:51 +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
139867d4b8
auto-indent
2021-09-06 12:17:49 -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
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
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