3970 Commits

Author SHA1 Message Date
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
Bixilon
ee459bee47
improve light calculation 2022-08-15 00:30:56 +02:00
Bixilon
a3ca8e37ee
wip light decrease 2022-08-15 00:30:56 +02:00
Bixilon
8e5fb9a548
FluidCullSectionPreparer: use chunk neighbour cache 2022-08-15 00:30:55 +02:00
Bixilon
eee4d49ad6
section light: simplify neighbours 2022-08-15 00:30:54 +02:00
Bixilon
727db397f8
chunk section: outsource light to SectionLight 2022-08-15 00:30:54 +02:00
Bixilon
8815bcae65
fire LightChangeEvent 2022-08-15 00:30:53 +02:00
Bixilon
f7193760f1
light: properly update neighbour chunks 2022-08-15 00:30:52 +02:00
Bixilon
d683007995
light debug mode 2022-08-15 00:30:52 +02:00
Bixilon
e9743b0318
mark CommandsS2CP as thread safe 2022-08-15 00:30:51 +02:00
Bixilon
99e26ec699
network: force handle thread safe low priority packets async 2022-08-15 00:30:50 +02:00
Bixilon
802342401e
trace neighbour light 2022-08-15 00:30:49 +02:00
Bixilon
641c80d94e
chunk: neighbour cache
Plan was to use it for lighting, but the world renderer can also benefit from it. Kind of a graph now
2022-08-15 00:30:49 +02:00
Bixilon
decee49071
basic block light engine 2022-08-15 00:30:48 +02:00
Bixilon
a7ab19277b
discard light packets 2022-08-15 00:30:47 +02:00
Bixilon
e3158f5ead
ignore server light 2022-08-15 00:30:43 +02:00
Bixilon
a4862abe13
fix AssetsPropertiesGenerator never quitting 2022-07-16 00:13:02 +02:00
Bixilon
6ac6c8b362
1.19: fix global position reading, GH-6 2022-07-13 23:56:58 +02:00
Bixilon
f32ae22f16
fix chunk data packet reading 2022-07-13 23:45:04 +02:00
Bixilon
e4f2b3dad8
don't calculate occlusion for empty sections 2022-07-13 23:43:27 +02:00
Bixilon
f319436a6c
fix eventual crash in chunk reading 2022-07-13 23:43:03 +02:00
Bixilon
609e9a104e
fix view distance change performance/memory leaks 2022-07-13 22:09:59 +02:00
Bixilon
1dd41f25b2
properly calculate world view distance 2022-07-13 22:08:48 +02:00
Bixilon
a9c7a317c9
fix world visibility graph behind one frame when moving 2022-07-11 18:20:00 +02:00
Bixilon
b123c2617f
fix buggy world size calculation 2022-07-11 18:13:35 +02:00