2894 Commits

Author SHA1 Message Date
Bixilon
612d02e253
WorldMesh.kt: remove some duplicated code 2022-08-22 19:57:07 +02:00
Bixilon
a102302810
section data: fix max position calculation
* This fixes some frustum bugs
* Also fixes a bug when placing a block in another chunk section and the section is marked as non visible
2022-08-22 19:51:42 +02:00
Bixilon
c0482cf6c1
chunk border renderer: polygon offset 2022-08-22 19:43:34 +02:00
Bixilon
926fd9158f
primitive list: rename finalized to finished
* finalize would make more sense, but the method is a reserved one by the JVM for the gc
2022-08-21 22:23:44 +02:00
Bixilon
ea0ca2aa36
BlockSectionDataProvider: remove some dead code 2022-08-21 22:16:03 +02:00
Bixilon
c13aba1446
fire LightChangeEvent for upper and lower section in chunk if needed 2022-08-21 22:09:44 +02:00
Bixilon
4f60ef2286
WorldRenderer: unload when client side view distance changes 2022-08-21 21:59:05 +02:00
Bixilon
ab35c3981a
WorldRenderer: make chunk task after preparing non interruptable
* This should fix some chunk bugs
2022-08-21 21:52:05 +02:00
Bixilon
2ba888afe8
fix some world visibility graph calculation crashes 2022-08-21 21:41:59 +02:00
Bixilon
b5728fcb68
world visibility graph: replace direction vector 2022-08-21 21:34:37 +02:00
Bixilon
f5fa34d57e
world visibility graph: remove chunk cache 2022-08-21 21:23:30 +02:00
Bixilon
135eee4432
improved chunk border renderer 2022-08-21 21:16:01 +02:00
Bixilon
ffc04d1189
prepare block outline and chunk border async
* Already implemented, but wrong function name :)
2022-08-21 20:29:33 +02:00
Bixilon
b2660d511c
possible fix for chunks not loading anymore 2022-08-19 22:39:48 +02:00
Bixilon
11443348e2
about: improve language 2022-08-19 22:27:22 +02:00
Bixilon
8abb76de78
interpolate fog linear 2022-08-19 22:16:54 +02:00
Bixilon
9301d60f6f
interpolate fog 2022-08-19 22:13:17 +02:00
Bixilon
fb2421ff0a
text: move color to subpackage 2022-08-19 21:52:42 +02:00
Bixilon
fbde9061e9
light debug: separate option for infinite torches 2022-08-19 21:32:40 +02:00
Bixilon
0cd5396421
improve fog start distance 2022-08-19 21:32:14 +02:00
Bixilon
307ac014ec
recalculate section light on decrease
* fixes a lot of lighing bugs
2022-08-19 21:15:49 +02:00
Bixilon
5811443302
fix some light bugs, proper light decreasing 2022-08-19 19:57:53 +02:00
Bixilon
2530cf183f
light: use ints, may mix sky and block light 2022-08-18 19:46:45 +02:00
Bixilon
fd34755e1b
bump kutil
* Fixes crash with ConcurrentModificationException when recalculating the server view distance
2022-08-18 19:38:34 +02:00
Bixilon
bf5fdb7167
chunk heightmap 2022-08-16 23:15:57 +02:00
Bixilon
acff5fc660
util: shortcut for minosoft namespace 2022-08-16 22:41:05 +02:00
Bixilon
b3d36351ca
shader: outsource some uniform constants 2022-08-16 22:28:52 +02:00
Bixilon
c0e6ff06ba
remove deprecated ShutdownReasons.kt 2022-08-16 20:35:07 +02:00
Bixilon
947e09e63b
world renderer: view distance change: check for view distance to unload
* This fixes a lot of missing chunks bugs
2022-08-16 20:25:14 +02:00
Bixilon
34f95089b6
world visibility: copy world size
* Fixes bug with invalid World::chunkSize
 -> reduces memory usage and improved performance
2022-08-16 19:25:33 +02:00
Bixilon
218c24718f
line mesh: ensure float count before drawing
* This minimally improved line drawing performance
2022-08-15 13:32:58 +02:00
Bixilon
e4c2f8a946
remove steps parameter from WorldVisibilityGraph
* minimally reduces stack size
2022-08-15 13:32:27 +02:00
Bixilon
eaa15d4c77
do a lot more rendering async 2022-08-15 13:20:38 +02:00
Bixilon
0027d3b028
load chunk borders async 2022-08-15 11:48:54 +02:00
Bixilon
54a543c090
world iteration: use unsafe
* This improved the iteration performance drastically
2022-08-15 11:38:24 +02:00
Bixilon
8efa7e8efa
world: chunk block tracing
* Improved block random ticking performance by a lot
2022-08-15 11:32:23 +02:00
Bixilon
0cc758c864
gui: tick async 2022-08-15 11:04:36 +02:00
Bixilon
00c7097b02
interaction handler: place and destroy blocks async 2022-08-15 10:56:27 +02:00
Bixilon
ec3513a13b
improve light decreasing performance drastically 2022-08-15 10:55:18 +02:00
Bixilon
17a54ca760
proper light decreasing 2022-08-15 09:55:00 +02:00
Bixilon
d29811c48e
debug: [F4] + [A] for clearing light cache 2022-08-15 08:30:26 +02:00
Bixilon
79aa03994b
fix crash when adding new key combinations 2022-08-15 08:26:31 +02:00
Bixilon
17151e3b16
constants: light levels 2022-08-15 08:09:05 +02:00
Bixilon
4968b85e71
rendering: improve quitting state 2022-08-15 08:02:07 +02:00
Bixilon
22a769fa2a
bump javafx 2022-08-15 00:31:00 +02:00
Bixilon
76a8747330
bump dependencies 2022-08-15 00:31:00 +02:00
Bixilon
adfcd2fcda
neighbour light tracing 2022-08-15 00:30:59 +02:00
Bixilon
8e1fb61e54
readme: improve language 2022-08-15 00:30:58 +02:00
Bixilon
b3ce614120
crash if can not find theme 2022-08-15 00:30:58 +02:00
Bixilon
1597ada864
add some notes about the architecture 2022-08-15 00:30:57 +02:00