Moritz Zwerger
73f8c9a453
fluid corner height fixes + tests
2025-10-15 19:15:10 +02:00
Moritz Zwerger
b8514952a3
fluid culling tests
2025-10-15 18:10:49 +02:00
Moritz Zwerger
39810ae361
chunk section tracing test
...
This was wrong on master recently
2025-10-15 17:52:39 +02:00
Moritz Zwerger
b3ac474f5d
split up fluid section mesher
2025-10-15 17:32:09 +02:00
Moritz Zwerger
5b3b65a2cf
more fluid renderer optimizations
2025-10-15 17:27:49 +02:00
Moritz Zwerger
e176c361db
fix all fluid renderer bugs
2025-10-15 17:15:50 +02:00
Moritz Zwerger
7e211c57d2
lots of fluid improvements
2025-10-15 17:00:51 +02:00
Moritz Zwerger
2bfe996ddf
entity visibility levels
...
Way clearer then multiple booleans. There is still more to optimize and improvement to make. This mostly fixes that entities stay invisible when walking into the frustum, when the frustum does not change.
2025-10-15 14:29:56 +02:00
Moritz Zwerger
bd1491b64a
profiles: allow dot in name
2025-10-15 13:49:04 +02:00
Moritz Zwerger
72647ece3c
cleanup stopwatch
2025-10-15 00:55:49 +02:00
Moritz Zwerger
06fc3eb4d9
don't use nanos anymore
...
Kotlin duration is used. All unitless time operations are removed in kutil 1.28
2025-10-15 00:49:08 +02:00
Moritz Zwerger
3ec5e23134
gradle: don't print git status
...
Not needed
2025-10-15 00:07:20 +02:00
Moritz Zwerger
4fe9347905
fixes, wip fluid sides
2025-10-14 19:00:29 +02:00
Moritz Zwerger
b00431367b
fluid renderer: remove allocations top
2025-10-14 18:02:04 +02:00
Moritz Zwerger
b7bd9159cd
some fluid renderer optimizations
2025-10-14 16:38:33 +02:00
Moritz Zwerger
76b0d01695
fluid renderer: corner heights
2025-10-13 23:10:10 +02:00
Moritz Zwerger
2b658c0980
fluid: mutable velocity
...
This prevents allocating a new mvec3d every time a fluid is rendered (and in physics submersion). Better for the gc :)
2025-10-13 17:38:11 +02:00
Moritz Zwerger
d69de9fe46
wip new fluid mesher
2025-10-13 17:13:33 +02:00
Moritz Zwerger
028abd9551
mesher: don't provide position
...
Not needed at all, it is already a property of the section.
2025-10-13 14:48:31 +02:00
Moritz Zwerger
991eb059ac
wip fluid renderer corner height calculation
2025-10-13 14:32:03 +02:00
Moritz Zwerger
ee64548238
optimize fluid matching
...
Now it uses the cached fluid tag too for block states
2025-10-13 14:22:09 +02:00
Moritz Zwerger
a9dd280de3
remove old fluid mesher
2025-10-13 14:14:26 +02:00
Moritz Zwerger
43e662ae64
vec3f rotation: inline
...
Now no vec2f is allocated anymore. Reduces gc during block model loading and will reduce gc during fluid rendering.
2025-10-13 13:48:23 +02:00
Moritz Zwerger
7d436ffe55
split chunk meshes and chunk meshes builder
...
Kind of typesafe now and cleaner
2025-10-13 13:36:32 +02:00
Moritz Zwerger
d0dc12100f
section data: calculate occlusion
...
commented it out accidentally.
2025-10-13 13:36:29 +02:00
Moritz Zwerger
dca377ddca
block state: cache collisions
2025-10-12 20:11:21 +02:00
Moritz Zwerger
0d6ec45620
block state: cache fluid
2025-10-12 20:11:15 +02:00
Moritz Zwerger
3a00f66328
fluid rendering fixes
2025-10-12 18:38:32 +02:00
Moritz Zwerger
ea7e8ed0f1
sprite animator: synchronize sprite creation
...
This fixes a race condition when loading sprites.
Sometimes water looked like lava, because of they shared the same animation id (i.e. count of animations).
2025-10-12 18:24:01 +02:00
Moritz Zwerger
92e38da27f
debug hud: show direction name
2025-10-12 17:58:35 +02:00
Moritz Zwerger
b8d2f622c5
network: don't log named sound effect
...
A lot of noise
2025-10-12 17:55:25 +02:00
Moritz Zwerger
7395ab4bdc
vec3f: fix x rotation + tests
2025-10-12 17:54:51 +02:00
Moritz Zwerger
a573d8f816
some skeletal cleanup
2025-10-12 17:24:07 +02:00
Moritz Zwerger
8453af4f29
minor fluid section improvements
2025-10-12 15:31:47 +02:00
Moritz Zwerger
7afca724d6
fix typo
2025-10-12 15:13:50 +02:00
Moritz Zwerger
c6f9484558
tints: don't allocate rgbcolor
...
If the type is non nullable, it is not allocated, it will be inlined.
2025-10-12 15:00:33 +02:00
Moritz Zwerger
158560f786
fix rebase errors
2025-10-12 14:40:41 +02:00
Moritz Zwerger
df7ed47641
remove some unused util functions, minor cleaning up
2025-10-12 14:32:42 +02:00
Moritz Zwerger
172c7a24f0
fix chat tests
...
This actually caused a rare crash during text rendering too
2025-10-12 14:32:39 +02:00
Moritz Zwerger
574e5ce826
crash: don't show eros, don't kill thread pool, destroy rendering windows
2025-10-12 14:32:34 +02:00
Moritz Zwerger
b45878d3f5
fix particle renderer matrix
...
The matrix is transposed because of kmath vs glm
2025-10-12 14:32:31 +02:00
Moritz Zwerger
29b69015cd
entity renderer: don't allocate vector when calculating matrix
2025-10-12 14:32:29 +02:00
Moritz Zwerger
36d0e0aabe
item feature: don't allocate new matrix
...
Not needed, just costing a bunch of memory
2025-10-12 14:32:27 +02:00
Moritz Zwerger
56dabaef32
collision: cache length2
2025-10-12 14:32:25 +02:00
Moritz Zwerger
3458f752cd
fix all physics tests
2025-10-12 14:32:22 +02:00
Moritz Zwerger
1b8bf7c7de
all the missing vector tests
2025-10-12 14:32:20 +02:00
Moritz Zwerger
bf85d0bee0
fix frustum, fix skeletal rendering
2025-10-12 14:32:17 +02:00
Moritz Zwerger
850decf405
fix mat4 rotation, tests
2025-10-12 14:32:14 +02:00
Moritz Zwerger
053a01ba38
store matrices column major
...
That should be faster, because of cpu caching. No teste if it matters too much with 4x4 matrices
2025-10-12 14:32:12 +02:00
Moritz Zwerger
77c2e33a1e
lots of matrix fixes
2025-10-12 14:32:08 +02:00