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
Bixilon
d4a562e429
improve light storing format
2021-11-12 22:57:58 +01:00
Bixilon
441b4e9550
SynchronizedMap: Allow multiple reading operations at the same time
2021-11-12 19:11:52 +01:00
Bixilon
86155c8f3f
wip: improved chunk storing format
2021-11-12 18:46:29 +01:00
Bixilon
20c5901fea
wip: world rendering
2021-11-10 23:52:59 +01:00
Bixilon
821a849e25
world-renderer: mesh: calculate max positions (for frustum culling)
2021-11-10 22:42:47 +01:00
Bixilon
8bd1c5ff32
world-renderer: multiple meshes: fix transparency, fix mipmaps
2021-11-10 21:30:16 +01:00
Bixilon
da19cecafd
light: shading
2021-11-10 20:39:07 +01:00
Bixilon
7d501bfc6b
rendering: reduce amount of floats per vertex, improve preparing performance
2021-11-10 19:57:12 +01:00
Bixilon
71ebcab943
Use GL_QUADS, improve world render performance
...
- Downgrade to OpenGL 3.0 to use GL_QUADS
- Use GL_QUADS in HUDRenderer and WorldRenderer (improves fps, reduces gpu load, reduces memory usage)
- Deprecate PrimitiveTypes.QUADS (it is deprecated in OpenGL too)
- Improve performance in BakedFace
2021-11-10 17:35:38 +01:00
Bixilon
b811a95059
face culling
2021-11-10 16:47:52 +01:00
Bixilon
486da0eda1
wip: multipart models
2021-11-10 13:07:21 +01:00
Bixilon
81dd2f7535
remove rotation matrix, improve model baking speed
2021-11-10 00:13:50 +01:00
Bixilon
958df37f96
uvLock, fixes
2021-11-09 22:56:09 +01:00
Bixilon
4ddb8dcaf7
block rotations
2021-11-09 18:48:11 +01:00
Bixilon
c999d5a6fe
meshing experiements
2021-11-09 17:37:41 +01:00
Bixilon
df21556171
rendering: enabled blending for sun and crosshair
2021-11-09 17:37:24 +01:00
Bixilon
5b278e5524
world-renderer: fix some render bugs
2021-11-08 17:47:49 +01:00
Bixilon
2279af73a1
normal cull section preparer
2021-11-08 13:41:47 +01:00
Bixilon
2455359747
wip: greedy meshing
2021-11-08 00:32:17 +01:00
Bixilon
ec35307a22
optimize textures, optimize section preparing
2021-11-06 00:22:21 +01:00
Bixilon
0712db8bfb
world-renderer: fixes, basic culling
2021-11-05 23:34:29 +01:00
Bixilon
461e30182d
world-renderer: improve stuff
2021-11-05 20:54:40 +01:00
Bixilon
fef4f12547
split Vec2Util and Vec2iUtil
2021-11-05 13:53:09 +01:00
Bixilon
66396c723e
program arguments: skip specific renderers
2021-11-05 13:45:07 +01:00
Bixilon
8ac5e14ddf
wip: model baking
2021-11-05 00:20:13 +01:00
Bixilon
596866c3ee
model loading
2021-11-04 16:27:29 +01:00