1917 Commits

Author SHA1 Message Date
Bixilon
8f010c6b84
fix mesh loading bug 2021-11-27 14:34:01 +01:00
Bixilon
1c94e20cf4
merge solid mesh and fluid mesh into one mesh 2021-11-26 16:05:42 +01:00
Bixilon
6f8da9f549
option to cull bedrocks bottom face 2021-11-24 23:59:43 +01:00
Bixilon
d3165e6a3c
improve fluid velocity getting performance 2021-11-24 23:40:36 +01:00
Bixilon
2e521643e6
improve fluid culling performance 2021-11-24 23:28:58 +01:00
Bixilon
eb0b166924
improve some fluid code 2021-11-24 21:18:45 +01:00
Bixilon
c287325eb3
fix fluid side texture rotation 2021-11-24 19:00:36 +01:00
Bixilon
b907ae65e7
fluid culling 2021-11-24 16:51:43 +01:00
Bixilon
f2247e7fa3
wip: fluid rendering 2021-11-24 09:06:01 +01:00
Bixilon
5fc6b606bb
count FluidFillable blocks as fluid, restructure some fluid stuff 2021-11-22 18:40:21 +01:00
Bixilon
1fdb1b6403
split fluid and solid meshes 2021-11-21 22:12:16 +01:00
Bixilon
13b77d9fac
count fluid blocks per section 2021-11-21 20:36:25 +01:00
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