Bixilon
68ff96739d
only poll rendering if enabled
2022-05-10 23:33:00 +02:00
Bixilon
305e0fcb75
assets manager: rename nullGet
to getOrNull
2022-05-10 22:57:52 +02:00
Bixilon
fe35f3fed3
fix chunk reading in dimensions where data height differs from the maxY
2022-05-10 22:50:06 +02:00
Bixilon
68a74b0fb3
fix crash when trying to place block above dimensions max height
2022-05-10 22:49:36 +02:00
Bixilon
38e5f54319
bump kutil
...
This fixes the wrongly prioritized thread pool, thus it makes the nether far more playable
2022-05-10 22:44:06 +02:00
Bixilon
e2a88a7aa9
entity data: allow number casting
2022-05-10 18:19:34 +02:00
Bixilon
d554c919a3
entity: make hotbox color open
2022-05-10 18:05:05 +02:00
Bixilon
1bcb48aa44
integrate internal chat into normal chat
...
Fixes freeze when dying while having the chat open
2022-05-10 18:01:56 +02:00
Bixilon
366235dafa
sounds: don't queue sounds in the thread pool
2022-05-10 13:39:02 +02:00
Bixilon
a37240668c
properly credit occlusion culling
2022-05-10 00:31:20 +02:00
Bixilon
38d84cdc26
fix crash in ResourceLocationRegistry
2022-05-09 21:47:51 +02:00
Bixilon
4a9712dab1
fix crash when calculating world visibility
2022-05-09 15:37:52 +02:00
Bixilon
bdbd487859
fix more chunk reading bugs, fix container bugs
2022-05-09 15:35:23 +02:00
Bixilon
29550d9788
fix chunk reading on custom servers, fixes GH-4
2022-05-09 13:07:15 +02:00
Bixilon
7a9ee5779d
chunk: silently ignore section requests if chunk is not initialized yet
2022-05-09 11:01:10 +02:00
Bixilon
84534c2d9f
container: fix opening of multiple levels, GH-4
2022-05-09 11:00:26 +02:00
Bixilon
3d3fc46b31
dimension: validate size, fix light reading
2022-05-09 09:26:52 +02:00
Bixilon
1bf46d2bf1
add some technical rendering documentation
2022-05-08 23:31:47 +02:00
Bixilon
6f52380069
improve rendering performance
2022-05-08 22:07:23 +02:00
Bixilon
1176d82ed4
occlusion: fix some graph and flood filling bugs
2022-05-08 22:07:23 +02:00
Bixilon
9b76c54e54
occlusion: fix frustum culling bug
2022-05-08 22:07:22 +02:00
Bixilon
246adc2708
occlusion: fix some flood filling issues
2022-05-08 22:07:22 +02:00
Bixilon
51842a4875
occlusion graph: frustum cull graph
2022-05-08 22:07:21 +02:00
Bixilon
aa3a8d500b
occlusion graph: only store visibility status, not the combination
...
That makes the whole thing A LOT faster
2022-05-08 22:07:21 +02:00
Bixilon
909f4c0b88
occlusion: fix some storing bugs
2022-05-08 22:07:20 +02:00
Bixilon
16df2a306c
option to disable occlusion culling, create world cache
2022-05-08 22:07:20 +02:00
Bixilon
019c0146ec
occlusion data: use an array instead of a hashmap
2022-05-08 22:07:19 +02:00
Bixilon
bd38152508
calculate worlds size -> server view distance
2022-05-08 22:07:18 +02:00
Bixilon
cbb2dfe241
occlusion: handle section updates, clamp biome y position at dimension height
...
In GH-4 I realized that the biome of the chunk (or extreme position) should be used as default biome and not null. This has nothing todo with the issue itself.
2022-05-08 22:07:14 +02:00
Bixilon
d6cd333ed4
fix flood filling, use correct occlusion camera position
2022-05-08 22:06:46 +02:00
Bixilon
87da02943d
occlusion culling: use arrays, fix a ton of bugs
2022-05-08 22:06:46 +02:00
Bixilon
7b31c0a251
entity hitbox renderer: check for occluded chunks
2022-05-08 22:06:45 +02:00
Bixilon
c8c3ee1d35
visibility graph: check if chunk is occluded
2022-05-08 22:06:44 +02:00
Bixilon
ec185c60db
occlusion> improve direction calculating
2022-05-08 22:06:44 +02:00
Bixilon
c322b5e35c
occlusion culling: fix increasing lag when out if dimension height
2022-05-08 22:06:43 +02:00
Bixilon
83291cd393
occlusion graph: fix some crashes with graph calculation
2022-05-08 22:06:43 +02:00
Bixilon
39341fc77c
improve occlusion graph calculation performance
2022-05-08 22:06:42 +02:00
Bixilon
306babeebd
improve frustum culling performance
2022-05-08 22:06:42 +02:00
Bixilon
1ac380b4c1
occlusion culling
2022-05-08 22:06:41 +02:00
Bixilon
be4dabcd5c
2d occlusion culling
2022-05-08 22:06:41 +02:00
Bixilon
a62599bce2
proper occlusion culling on Y axis
2022-05-08 22:06:40 +02:00
Bixilon
44d073e7ad
netty: ignore disconnect state when sending packets
2022-05-08 22:06:39 +02:00
Bixilon
eb1caf4e2a
fix FluidFillable height calculation
2022-05-08 22:06:39 +02:00
Bixilon
b17f12e7b1
calculate chunk occlusion for all combinations
2022-05-08 22:06:38 +02:00
Bixilon
3f5066f97d
read chunk packet async
2022-05-08 22:06:38 +02:00
Bixilon
08a397a548
hacky occlusion culling (only in y direction)
2022-05-08 22:06:37 +02:00
Bixilon
10059113b6
wip flood filling and occlusion calculations
2022-05-08 22:06:37 +02:00
Bixilon
e24fffbf73
wip flood fill calculation
2022-05-08 22:06:32 +02:00
Bixilon
9d10606f9a
gui manager: fix multithreading crashes
2022-05-08 14:08:48 +02:00
Bixilon
3f2145d0fd
player properties: ignore unsigned texture data
2022-05-08 14:05:25 +02:00