2105 Commits

Author SHA1 Message Date
Bixilon
0dca6587c6 Merge branch '1.18' into 'world-renderer'
Support for 1.18

See merge request bixilon/minosoft!28
2021-11-21 19:35:18 +01:00
Bixilon
5352d1d770
move some stuff 2021-11-21 18:39:25 +01:00
Bixilon
473b4f3ccb
water tint 2021-11-21 18:07:01 +01:00
Bixilon
5496b1d47e
network: support for 21w38a-1.18-pre5 2021-11-20 21:11:25 +01:00
Bixilon
beaeafbb5b
fix with negative dimensions y > 256, rework chunk reading 2021-11-20 20:28:25 +01:00
Bixilon
44e8b358a2
wip: 21w37a
* Still todo: Parse "new" chunk format
2021-11-19 14:45:51 +01:00
Bixilon
ce850dc802
stuff 2021-11-19 14:16:43 +01:00
Bixilon
1c61ffb440
rendering: window icon 2021-11-18 16:40:33 +01:00
Bixilon
e6fd5d5f54
send client settings, fix underwater particle amount, add missing pose 2021-11-18 14:54:22 +01:00
Bixilon
7da7e10593
wip light 2021-11-18 13:50:40 +01:00
Bixilon
4720dbba37
clear chunk cache on minimize, rotate cull face correct, chunk clear key combination 2021-11-17 22:36:33 +01:00
Bixilon
fc2b5a8502
hud: improve memory usage
* Every HUDElement has its own mesh now
 * Reuse existing mesh data (don't allocate new memory)
 * Use Mesh data as cache for layouted elements (not a separate float array)
2021-11-17 21:21:17 +01:00
Bixilon
e2f4170bb8
reuse FloatBuffer in GUIMesh (reduce memory allocations) 2021-11-17 19:48:08 +01:00
Bixilon
66f4f74848
fix bugs in fallback coordinates 2021-11-17 19:17:27 +01:00
Bixilon
63d40dcad7
more tints 2021-11-17 18:57:41 +01:00
Bixilon
73c5829893
wip: tinting 2021-11-17 18:06:12 +01:00
Bixilon
870d2e3cca
improve frustum culling performance, update neighbour chunks, improvements 2021-11-17 14:02:20 +01:00
Bixilon
4a8dc14dd7
fix chunk neighbour detection, fixes 2021-11-17 00:51:36 +01:00
Bixilon
52150ba555
fix some threading bugs, improve a ton of stuff in world renderer 2021-11-16 22:05:42 +01:00
Bixilon
962a97e9fd
store light as ByteArray, other memory improvements 2021-11-16 14:09:15 +01:00
Bixilon
47b620bedc
disable leaves culling, fix some biome bugs, fix block rotation bug, fix uv lock bugs 2021-11-15 22:26:06 +01:00
Bixilon
7344fdda6c
improve thread pool (performance), improve culling performance 2021-11-15 17:45:26 +01:00
Bixilon
ec7ef10add
fix some transparency bugs 2021-11-15 17:10:20 +01:00
Bixilon
f5c9afebae
improve some memory stuff 2021-11-15 16:23:05 +01:00
Bixilon
69bd39bd45
fix fast biomes 2021-11-15 15:56:03 +01:00
Bixilon
2ecf73b82e
fix some more bugs 2021-11-15 15:53:46 +01:00
Bixilon
d2c40a810d
option to disable GL_QUADS 2021-11-15 15:10:20 +01:00
Bixilon
a147fb3c02
integrate world renderer with new chunk format (performance optimizations) 2021-11-15 11:08:43 +01:00
Bixilon
6032900b42
fix some merge bugs, fix some biome bugs 2021-11-15 10:33:14 +01:00
Bixilon
8d99db5376
Merge branch 'master' into world-renderer
# Conflicts:
#	src/main/java/de/bixilon/minosoft/data/registries/tweaker/VersionTweaker.kt
#	src/main/java/de/bixilon/minosoft/data/world/Chunk.kt
#	src/main/java/de/bixilon/minosoft/data/world/World.kt
#	src/main/java/de/bixilon/minosoft/gui/rendering/block/WorldRenderer.kt
#	src/main/java/de/bixilon/minosoft/gui/rendering/block/renderable/block/ElementRenderer.kt
#	src/main/java/de/bixilon/minosoft/gui/rendering/block/renderable/fluid/FluidRenderer.kt
#	src/main/java/de/bixilon/minosoft/gui/rendering/models/baked/block/GreedyBakedBlockModel.kt
#	src/main/java/de/bixilon/minosoft/protocol/packets/s2c/play/ChunkDataS2CP.kt
#	src/main/java/de/bixilon/minosoft/protocol/packets/s2c/play/MassChunkDataS2CP.kt
2021-11-15 10:11:09 +01:00
Bixilon
8bc3325d37 Merge branch 'improved-chunk-format' into 'master'
Improved chunk format

See merge request bixilon/minosoft!26
2021-11-15 09:54:12 +01:00
Bixilon
a896eb0c7c
calculate max position in SectionDataProvider 2021-11-15 09:24:57 +01:00
Bixilon
465e9c4bf0
fix light packet reading (in older versions), fix some chunk bugs 2021-11-15 00:48:59 +01:00
Bixilon
ee02484494
improve block entity handling, fix some bugs, improve performance of fast biomes 2021-11-14 22:22:47 +01:00
Bixilon
20062dc0ea
cache chunks in biome noise cache building 2021-11-14 21:22:41 +01:00
Bixilon
7249367b04
improve performance of some biome stuff, improve performance of new chunk format 2021-11-14 20:49:36 +01:00
Bixilon
74791305f6
fast biomes option 2021-11-14 19:14:24 +01:00
Bixilon
5c3b1f31b8
wip: chunk cache 2021-11-14 18:45:34 +01:00
Bixilon
c265b87e48
fix compatibility with Java < 16 2021-11-14 13:30:39 +01:00
Bixilon
a79eff606c
improve memory usage: ArrayFloatList: replace FloatArray with FloatBuffer 2021-11-14 13:02:44 +01:00
Bixilon
20ca5c1199
render distance, remove particles when out of render distance 2021-11-13 23:41:29 +01:00
Bixilon
168d607c47
models: correct fallback uv coordinates (e.g. for cauldrons) 2021-11-13 20:50:19 +01:00
Bixilon
95c4898f4a
world-rendering: fix some transparent rendering 2021-11-13 20:10:42 +01:00
Bixilon
831fd25444
fix empty chunk data handling, improve multithreading in WorldRenderer 2021-11-13 19:20:03 +01:00
Bixilon
4377b9e2ae
fix empty chunk data handling, improve multithreading in WorldRenderer 2021-11-13 19:08:34 +01:00
Bixilon
611f55fd82
world-renderer: split visible meshes, sort them 2021-11-13 17:58:53 +01:00
Bixilon
dcb058c960
fix spectator collisions, fix some mass block changing bugs, fix culling bugs 2021-11-13 17:22:25 +01:00
Bixilon
4db63f37f5
fix gamemode handling 2021-11-13 16:55:48 +01:00
Bixilon
f1c932a68a
chunk unloading 2021-11-13 16:38:40 +01:00
Bixilon
3fd30c65b0
improve world renderer 2021-11-13 16:06:22 +01:00