tom lee
0563cde3c2
GLProxy: Add temp debug enable via setting debugMode to SHOW_DETAIL`
2021-12-27 23:42:47 +08:00
tom lee
5fe192f4c5
BufferUpload: Changed/Improve Buffer Upload, and a new timeout
...
Now timeout length is based on how much data is uploaded.
Also, added LagSpikeCatcher in LodBufferBuilderFactory to debug catch
lag spike locations.
2021-12-27 16:07:55 +08:00
cola98765
428e12081c
fixed void chunks... made it a bit more resilient
2021-12-26 17:22:56 +01:00
cola98765
ac102402cc
disabled connected lods in hasCeiling dimensions
2021-12-26 16:19:06 +01:00
cola98765
966677b89e
Add back face culling #109
2021-12-26 10:40:11 +01:00
cola98765
64e73b7d83
fixed light requiring Y offset
2021-12-25 13:19:01 +01:00
cola98765
52ea2e96b7
detect snow etc on connected lods; better comments to enable transparency
2021-12-25 12:25:48 +01:00
cola98765
c658697ecd
fixed rogue faces when using connected lods
2021-12-25 11:32:35 +01:00
cola98765
a5b259f098
remove debug if
2021-12-25 10:45:01 +01:00
cola98765
e9da9c26f4
remove connected vertical faces
2021-12-25 10:44:12 +01:00
cola98765
2f6ff1a3ea
fix avoided blocks with new method
2021-12-24 11:48:00 +01:00
cola98765
766e5a358d
made connected lods configurable (TODO actually add it to config)
2021-12-24 09:29:48 +01:00
cola98765
a19189c2a8
commented the thing to enable colors
2021-12-23 23:43:55 +01:00
cola98765
0627f779d7
connected lods!
2021-12-23 19:19:32 +01:00
James Seibel
01bfb65d9e
Add TestDiagram.drawio
2021-12-22 02:14:54 +00:00
James Seibel
cccad08a61
Add a folder for wiki files
2021-12-22 02:13:32 +00:00
tom lee
96be86cacf
RenderBuffer: Fixed BufferMapping OpenGL Errors
...
Thanks to nev at discord for pointing this issue out.
2021-12-21 21:12:15 +08:00
tom lee
b75791006c
General cleanup/fixup/improvement of render buffers
2021-12-21 15:48:25 +08:00
tom lee
9047ebb970
GLProxy: Now always log OpenGL supported version
2021-12-21 14:05:49 +08:00
tom lee
2d1c2d6efb
GLProxy: Improved version not supported messages
2021-12-21 13:52:12 +08:00
tom lee
8577363438
added option for more WorldGenerater control
2021-12-19 00:29:50 +08:00
tom lee
4229ed75ae
WorldGen: support 1.18 worldgen without locking the server up
...
Added getWorldGenerationCountPerThread() constant. Cleaned up the
LodWorldGenerator thread main lamda.
2021-12-17 15:57:37 +08:00
tom lee
b8408bc6fa
Renderer: Changed all to use GL32, set requirement to GL32
...
This should be the final commit on the renderer system rework if there are no
other bugs.
2021-12-17 14:52:24 +08:00
cola98765
56c4911316
changed where minHeight is set
2021-12-16 12:24:07 +01:00
tom lee
244ead9451
Renderer rework completed
...
The renderer rework is done. Fixed some non-issues and optimized away
some bind() calls. Also added some FIXME comments to some place that I
noticed needs to be fixed.
2021-12-16 00:16:09 +08:00
cola98765
5709a4c660
changed how minHeight is handled in VerticalLevelContainer
2021-12-15 12:09:47 +01:00
tom lee
3913b955be
Renderer: Fixed and enabled GL43+ Vertex Attribute
...
Not sure if it's faster currently. It should in theory be.
2021-12-15 17:15:54 +08:00
tom lee
a295dcafd4
Fix Init Null Exception (LodBuilder getMinHeight())
...
Fixed someone calling world.getMinHeight() on LodBuilder static init.
The world hasn't even been loaded... Also added it so that it updates on
world / dimension change.
2021-12-15 16:05:13 +08:00
James Seibel
f9914f9336
slightly change some config wording
2021-12-14 23:27:46 -06:00
James Seibel
13e9df5b48
Change the sodium support to use a flat render distance
...
Newer versions of sodium store chunks in such a way that using reflection to get them is complicated at best. So for now we will just use the render distance and estimate which chunks should be loaded.
2021-12-14 23:27:27 -06:00
James Seibel
98c394bad1
Add a default createChunkPos(long) to IWrapperFactory
2021-12-14 20:51:29 -06:00
cola98765
444bf3b8bc
made getMinHeight() default, so when it's not implemented it just returns 0
2021-12-14 21:40:33 +01:00
cola98765
455281a32d
no longer using getMinimumWorldHeight() form version constants, added replacement in WorldWrapper.
2021-12-14 21:36:51 +01:00
cola98765
7b613ae8e3
rework for 1.18 y<0
2021-12-14 21:12:02 +01:00
cola98765
443d6165fa
final fix for 1.18 y<0?
2021-12-14 20:45:38 +01:00
cola98765
a4ebe3e3c1
me stupid
2021-12-14 20:07:10 +01:00
cola98765
6ac3edf280
adding offset back
2021-12-14 19:59:33 +01:00
cola98765
a1163dc340
removed debug message
2021-12-14 19:41:01 +01:00
cola98765
38b7e66ef8
different debug message
2021-12-14 19:28:56 +01:00
cola98765
a843a0ed65
disable debug message
2021-12-14 19:24:20 +01:00
cola98765
e0d2d2530f
disable debug message
2021-12-14 19:24:01 +01:00
cola98765
44e2936b68
made very logs for merge bug
2021-12-14 19:06:21 +01:00
cola98765
dfa717e0e3
revert everything around this merge bug
2021-12-14 19:04:06 +01:00
cola98765
69844417ce
potential fix to that merge bug
2021-12-14 18:37:26 +01:00
cola98765
8370402dc1
potential fix to that merge bug
2021-12-14 18:27:01 +01:00
cola98765
cbb32bc996
potential fix to that merge bug
2021-12-14 18:24:42 +01:00
cola98765
ac876c0030
potential fix
2021-12-14 18:14:14 +01:00
cola98765
2176807a0a
fixed lightmap
2021-12-14 18:09:39 +01:00
cola98765
47732b7f57
just playing around with <0 y
2021-12-14 17:57:27 +01:00
cola98765
ff9afee5b4
fixed loading data being corrupted
2021-12-14 17:29:55 +01:00