Moritz Zwerger
280b9bc00c
block model builder: no condition
2025-11-20 15:31:42 +01:00
Moritz Zwerger
73af4fef42
fences
...
outline/collision boxes still not implemented for < 1.13
2025-11-20 15:24:24 +01:00
Moritz Zwerger
0506d1441b
fix torch renderer
2025-11-20 14:32:00 +01:00
Moritz Zwerger
5ac008b5ef
world offset: lower distance
2025-11-20 14:28:40 +01:00
Moritz Zwerger
e3f24266ea
reduce minor details culling
2025-11-20 14:20:42 +01:00
Moritz Zwerger
f93cd368c1
occlusion tracer: increase ray threshold
...
Otherwise culling is too aggressive
2025-11-20 14:18:26 +01:00
Moritz Zwerger
b35283a1cb
flower blocks
2025-11-20 14:13:59 +01:00
Moritz Zwerger
340e8ca8f0
carpet blocks
2025-11-20 13:51:31 +01:00
Moritz Zwerger
bde0e944a1
fix culling of full opaque blocks
2025-11-20 12:40:42 +01:00
Moritz Zwerger
1faa23d37e
convert block state flags to int enum
...
Way faster...
2025-11-20 12:37:07 +01:00
Moritz Zwerger
6af046ecd9
convert chunk mesh details to static ints
...
Somehow the enum ordinals are so badly optimized that performance really sucks otherwise.
2025-11-20 12:26:19 +01:00
Moritz Zwerger
d6c3980b85
torch blocks
...
This adds luminance to pre flattening versions
2025-11-20 12:15:30 +01:00
Moritz Zwerger
d726440e2f
lava: set correct luminance
2025-11-19 22:36:21 +01:00
Moritz Zwerger
f62578e726
occlusion tracing: prevent going to far away from the "ray"
...
This makes the algorithm produce far better results, around 30% decrease of chunk sections
2025-11-19 22:31:22 +01:00
Moritz Zwerger
855acdb0f4
solid mesher: minor performance improvement
...
No clue, but somehow enum ordinals are not greatly optimized
2025-11-19 22:30:06 +01:00
Moritz Zwerger
9b6080dc4e
bump kutil 1.31.1
...
bytes, improvements
2025-11-19 22:30:05 +01:00
Moritz Zwerger
6d26073e5a
chunk renderer: minor fixes
2025-11-19 22:30:05 +01:00
Moritz Zwerger
001cf4d364
chunk cache manager
2025-11-19 22:30:05 +01:00
Moritz Zwerger
c5826c5f07
chunk meshing: properly set high priority
2025-11-19 22:30:04 +01:00
Moritz Zwerger
b6c91aba2f
mesh preparing task: remove interruptible flag
...
Either the thread is set or not
2025-11-19 22:30:04 +01:00
Moritz Zwerger
3df65262be
mesh details: option to disable
2025-11-19 22:30:03 +01:00
Moritz Zwerger
83e3763824
chunk meshing queue: fix ConcurrentModificationException
2025-11-19 22:30:03 +01:00
Moritz Zwerger
c8816ff0ac
fix updating of chunk mesh details, make cave culling more aggressive
...
Only thing were I really noticed it is in oceans, but that should be improved by using some really dark fog behind the chunks. Something for another feature.
2025-11-19 22:30:02 +01:00
Moritz Zwerger
9825b17798
chunk renderer tests
2025-11-19 22:30:02 +01:00
Moritz Zwerger
fb415c9bb0
chunk meshing: faster requeue
...
It also fixes that a ConcurrentModificationException could occur (still iterating but added again)
2025-11-19 22:30:01 +01:00
Moritz Zwerger
dcc8561ba3
vertical view distance
2025-11-19 22:30:01 +01:00
Moritz Zwerger
9ef92d9905
occlusion tracer: invalidate when queue was worked on
2025-11-19 22:30:00 +01:00
Moritz Zwerger
e432673d92
mesh details: fix culling sides
2025-11-19 22:30:00 +01:00
Moritz Zwerger
2752351c0e
tune dark cave detail more
2025-11-19 22:30:00 +01:00
Moritz Zwerger
93aa15de77
loaded meshes: only add section to visible if actually visible
...
Not really needed, but who knows how fast chunk meshing is
2025-11-19 22:29:59 +01:00
Moritz Zwerger
09cbd3dffb
chunk meshing: make level of detail update low priority
2025-11-19 22:29:59 +01:00
Moritz Zwerger
28c1bc1615
level of details: remove transparency flag
...
It just looks so much worse. This might get introduced as some sort of disabling sort of them
2025-11-19 22:29:58 +01:00
Moritz Zwerger
665ed87614
level of detail: fine tune a lot more
2025-11-19 22:29:58 +01:00
Moritz Zwerger
2a7bef7bba
dripstone
...
Even better cave culling results
2025-11-19 22:29:57 +01:00
Moritz Zwerger
a1d7b91aaf
make cave culling not as aggressive
...
Otherwise it is really noticeable in river biomes
2025-11-19 22:29:57 +01:00
Moritz Zwerger
6c62f0f2fb
some chunk renderer performance improvements
2025-11-19 22:29:56 +01:00
Moritz Zwerger
a84ca4f33e
blocks: tuff, gravel
...
Only because they need the `CAVE_SURFACE` flag, improves performance
2025-11-19 22:29:56 +01:00
Moritz Zwerger
074e92bf73
level of detail: hide dark cave surfaces
...
They are almost only overdraw from bad occlusion culling. Caves only generate under sea level (or are dark; approximately). If the camera is above the normal surface we can mostly hide them completely. Might need a little fine tuning.
2025-11-19 22:29:55 +01:00
Moritz Zwerger
627070be45
level of details: minor visual impact
2025-11-19 22:29:55 +01:00
Moritz Zwerger
8d19044ed7
more level of details
2025-11-19 22:29:55 +01:00
Moritz Zwerger
38da89daa5
mesh loading: drop cache if not requeuing section
2025-11-19 22:29:54 +01:00
Moritz Zwerger
0fee7a0a41
chunk renderer: unload mesh cache properly
2025-11-19 22:29:54 +01:00
Moritz Zwerger
74ac3301e0
requeue chunk sections when removing conditionally
2025-11-19 22:29:53 +01:00
Moritz Zwerger
5ab39f2cf5
tune level of detail threshold
...
Visually far better
2025-11-19 22:29:53 +01:00
Moritz Zwerger
ab716336e2
fix null pointer error when unloading sections
2025-11-19 22:29:52 +01:00
Moritz Zwerger
ab632d0289
chunk renderer: missing todos (part 4)
2025-11-19 22:29:52 +01:00
Moritz Zwerger
b80de81bef
chunk mesh details: add details back
2025-11-19 22:29:51 +01:00
Moritz Zwerger
f7dfa1364d
chunk renderer: missing todos (part 3)
2025-11-19 22:29:51 +01:00
Moritz Zwerger
ec07a1280c
chunk renderer: missing todos (part 2)
2025-11-19 22:29:50 +01:00
Moritz Zwerger
e62847da15
chunk renderer: missing todos (part 1)
2025-11-19 22:29:50 +01:00