Moritz Zwerger
fa58769572
meshes: visible meshes: unload chunks that are out of render distance
2025-11-05 18:12:17 +01:00
Moritz Zwerger
f35c4baf5d
local connection: load world before setting state to PLAYING
2025-11-05 18:06:16 +01:00
Moritz Zwerger
4831c6b340
chunk meshing: mesh if all neighbour **sections** are empty
...
Otherwise single block worlds will not get loaded
2025-11-05 18:05:57 +01:00
Moritz Zwerger
d0f5aa3241
wip block entity renderer cache (part 1)
2025-11-05 14:14:41 +01:00
Moritz Zwerger
81c18f4a75
rename rendering state SLOW
...
Dubious name...
2025-11-04 12:52:30 +01:00
Moritz Zwerger
7f090575b1
item registry tests
2025-11-04 12:52:13 +01:00
Moritz Zwerger
ece7ba08d9
registries: default to flattened
2025-11-04 12:49:41 +01:00
Moritz Zwerger
316c647757
fix shulker box slot type + tests
2025-11-03 18:02:49 +01:00
Moritz Zwerger
6112b1506d
fix entity text rendering
2025-11-03 17:29:17 +01:00
Moritz Zwerger
d173c33353
world char consumer: fix sign rendering
2025-11-03 17:24:21 +01:00
Moritz Zwerger
bee2e16772
some light fixes
2025-11-03 17:19:33 +01:00
Moritz Zwerger
de83968615
fix weather overlay crash
2025-11-03 17:19:02 +01:00
Moritz Zwerger
ff9935d6fa
block entities: start animation if viewing and new renderer is created
2025-11-03 17:04:34 +01:00
Moritz Zwerger
996bd624ab
legacy registries: fix item retrieving when id < 16
2025-11-03 17:03:09 +01:00
Moritz Zwerger
966b8ed124
container stack adding: check if slot accepts
2025-11-03 16:58:20 +01:00
Moritz Zwerger
2c35cfe6f9
gui: use unpacked uv
...
Otherwise font might not look as great
2025-11-03 16:53:33 +01:00
Moritz Zwerger
1a727754ca
fix light event firing
2025-11-03 16:37:43 +01:00
Moritz Zwerger
4da3f8b016
fix some chunk tests
2025-11-03 16:22:39 +01:00
Moritz Zwerger
f892f24323
fix some tests
2025-11-03 00:08:43 +01:00
Moritz Zwerger
811dbe349f
fix and cleanup world biome tests
2025-11-02 17:50:40 +01:00
Moritz Zwerger
127f2ba1b2
chunk test cleanup
2025-11-01 22:15:31 +01:00
Moritz Zwerger
19d038ec7c
world generation: use chunk builder
...
A lot more efficient as there are no light, occlusion, entity, ... updates
2025-11-01 20:56:01 +01:00
Moritz Zwerger
f375b10c72
refactor chunk creation, world update events
2025-11-01 20:45:29 +01:00
Moritz Zwerger
c3cb13c7e2
chunk tests
...
There is a lot more to test...
2025-11-01 19:12:29 +01:00
Moritz Zwerger
4d24e2a6c7
deprecate event master
...
They will be refactored at some time.
2025-11-01 17:57:28 +01:00
Moritz Zwerger
7b849de134
test blocks
...
Then those tests don't need to rely on pixlyzer loading or that blocks are working correctly
2025-11-01 17:57:02 +01:00
Moritz Zwerger
8f7a640c3b
fix some invalid mesh orders
2025-11-01 16:34:29 +01:00
Moritz Zwerger
dce150661c
enable face culling again
2025-11-01 16:34:19 +01:00
Moritz Zwerger
e0cc6d9477
pixlyzer: map block items correctly if no factory is set
...
This makes blocks placeable in legacy versions
2025-11-01 16:34:06 +01:00
Moritz Zwerger
5767a38d24
block placing: don't ignore local player
2025-11-01 16:33:24 +01:00
Moritz Zwerger
81d85ec2b3
cleanup some block change logic
2025-11-01 16:12:45 +01:00
Moritz Zwerger
1f30da8638
occlusion: only calculate on demand
...
Then the occlusion is not calculated anymore for sections that change and are not visible anymore. This can still be extended to async calculate new chunks if they are visible (so no lag spike is there when new chunks arrive)
2025-11-01 15:26:42 +01:00
Moritz Zwerger
c1ef39a3e9
fix some tests
2025-10-31 15:42:07 +01:00
Moritz Zwerger
6734e912a5
cleanup block entities, chunk/section management, more
...
This commit is way to big, but I was really pissed of how complicated chunk handling was
2025-10-31 15:22:46 +01:00
Moritz Zwerger
a3cce01c3b
way more entity rendering improvements
2025-10-30 14:47:07 +01:00
Moritz Zwerger
31c7d040cb
skeletal feature: load mesh when not loaded yet
2025-10-29 23:11:12 +01:00
Moritz Zwerger
03f78c638a
fix various tests
...
Skeletal model loading is still broken
2025-10-29 22:53:48 +01:00
Moritz Zwerger
6e6994a14e
meshed feature: unload mesh
2025-10-29 19:05:17 +01:00
Moritz Zwerger
d3bfbf64e2
eros: prevent entering § in server address
...
Can not be valid
2025-10-29 19:02:35 +01:00
Moritz Zwerger
18f51e487f
render system: rename some properties
2025-10-29 18:56:45 +01:00
Moritz Zwerger
8189a6c1eb
fix skeletal build errors
...
Not 100% clean, but should do the job
2025-10-29 18:56:34 +01:00
Moritz Zwerger
9656a048f1
wip port entity rendering to kotlin Duration
2025-10-29 17:14:26 +01:00
Moritz Zwerger
beedecddc1
skeletal instance: enforce loaded
...
That is needed in the future, when every instance gets its own buffer (maybe)
2025-10-29 16:18:07 +01:00
Moritz Zwerger
0561757243
refactor entity drawing (part 1)
...
Probably broken as hell
2025-10-29 15:43:39 +01:00
Moritz Zwerger
c97d29aa11
integration tests: disable native memory
...
Then no memory leaks can happen (they are mostly not freed in the testing environment)
2025-10-29 15:18:35 +01:00
Moritz Zwerger
0f40d6341e
tests: ensure opengl debug option are off
2025-10-29 15:17:49 +01:00
Moritz Zwerger
559dff1221
particle renderer: only load mesh if not empty
2025-10-29 10:15:21 +01:00
Moritz Zwerger
5b571a1044
session: set cli if playing, independent of network
...
Otherwise in local connections it is never set and you manually need to select it
2025-10-29 09:45:48 +01:00
Moritz Zwerger
2b97c14df5
particle renderer: bake mesh
2025-10-29 09:45:06 +01:00
Moritz Zwerger
79406d5b5c
entities/block shader: use packed uv
...
This fixes tnt texture positions
2025-10-29 09:39:19 +01:00