2865 Commits

Author SHA1 Message Date
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
Bixilon
7c91522a14
1.18: fix light reading in custom dimensions, GH-4 2022-05-08 14:05:03 +02:00
Bixilon
c38f2db98a
github: also build on windows 2022-05-08 00:08:24 +02:00
Bixilon
729eea7254
eros: modify server dialog: treat april fool versions as snapshots 2022-05-07 22:14:08 +02:00
Bixilon
145feaed42
tab list: ignore invalid gamemodes
Some servers (like play.cubecraft.net) don't send a -1 gamemode. This produces a lot of exceptions and useless errors. Minecraft seems to handle that fine
2022-05-07 22:10:08 +02:00
Bixilon
3c61ee38ac
player properties: don't crash on unknown properties, GH-4 2022-05-07 22:09:08 +02:00
Bixilon
394fdb2c2a
versions index: outbox 13w41b 2022-05-07 22:08:31 +02:00
Bixilon
8f4f44a7bb
win64: fix typo in zstd detection, GH-3
But now it should work, this is fix commit number 3
2022-05-07 13:44:41 +02:00
Bixilon
8584e29c14
skin textures: only fetch for microsoft accounts and if server is in online mode 2022-05-07 13:27:44 +02:00
Bixilon
015b246e2c
win64: proper zstd natives detection, GH-2, GH-2 2022-05-07 13:13:45 +02:00
Bixilon
35a88ed5ef
bump kutil
* Fixes crash when minimizing minosoft
2022-05-05 15:06:53 +02:00
Bixilon
a7705fe61b
fix texture loading crash with offline accounts 2022-05-05 12:06:43 +02:00
Bixilon
ca1c73293b
fix zstd natives on windows 2022-05-05 10:55:11 +02:00
Bixilon
6cff8c6278
world renderer: fix some chunks not get rendered magically 2022-05-05 00:03:00 +02:00
Bixilon
f4c707aae0
block models: don't store empty face properties 2022-05-04 21:17:02 +02:00
Bixilon
b90591889d
bump kutil
* Fixes bug with not executed jobs in the queue, improves the queue performance
2022-05-04 21:17:01 +02:00
Bixilon
971ed120cf
mesher: improve (fluid) perpare speed 2022-05-04 21:17:01 +02:00
Bixilon
cea55b610a
improve performance of solid block culling 2022-05-04 21:17:01 +02:00
Bixilon
f666df8d69
entity data: correctly remove has_ prefix 2022-05-04 20:44:43 +02:00
Bixilon
bd268034bf
interaction handler: stop item using when changing hotbar slot 2022-05-03 22:20:48 +02:00
Bixilon
3fed73e640
fix explosion affected blocks 2022-05-03 22:12:56 +02:00
Bixilon
6108344c65
fix entity raycasting 2022-05-03 21:23:16 +02:00
Bixilon
47ef9dab59
hacky credits screen 2022-05-03 20:58:55 +02:00
Bixilon
c920eaf781
bow shooting, fix inventory bug 2022-05-03 20:40:04 +02:00