5900 Commits
Author SHA1 Message Date
Moritz Zwerger cc4f600646 java8: use older dependencies 2025-12-22 16:13:37 +01:00
Moritz Zwerger 15f44fbc17 bump jiibles: 1.2
Jiibles <1.2 only worked with java 11+ (or more was built against)
2025-12-22 16:13:37 +01:00
Moritz Zwerger 27463f1cb1 Merge branch 'kotlin-2.3' 2025-12-20 20:36:53 +01:00
Moritz Zwerger 07de978b04 fix kotlin 2.3 bug
Not even sure how to describe it
2025-12-20 20:36:25 +01:00
Moritz Zwerger eae32b6910 bump kutil: 1.30.2
Fixes compatiblity with kotlin 2.3
2025-12-20 20:11:26 +01:00
Moritz Zwerger 4108b384e5 opengl: don't initialize when registering factory 2025-12-20 15:27:41 +01:00
Moritz Zwerger 6a7ace4b87 glfw: check if glfw is in classpath 2025-12-20 15:27:40 +01:00
Moritz Zwerger 316c0711a5 bump kotlin language version, don't opt in for experimental time
Its stable now
2025-12-20 15:16:32 +01:00
Moritz Zwerger f553f0ae85 bump kotlin: 2.3.0 2025-12-20 15:14:27 +01:00
Moritz Zwerger d926b1e24a bump dependencies 2025-12-20 15:12:39 +01:00
Moritz Zwerger 9c32313e7b cli arguments: don't overwrite render factories if not set 2025-12-20 15:06:05 +01:00
Moritz Zwerger e8eaf0ecdb check if session has rendering set 2025-12-20 15:05:40 +01:00
Moritz Zwerger 2e5341cbfb main: actually crash on error 2025-12-20 14:58:08 +01:00
Moritz Zwerger 5668ffda47 don't crash if no rendering api is available 2025-12-20 14:53:01 +01:00
Moritz Zwerger d852df26d2 gradle: change render systems with property
This makes it easy to remove the opengl render system and go headless. It also allows for more future render systems. It does not work yet, as the class must be present in runtime for now.

See #77
2025-12-20 14:41:19 +01:00
Moritz Zwerger 08a5a72d27 chunk mesher: ignore previous mesh details when meshing section
Sounds odd, but we mesh the chunk anyways and then can be as lazy as possible without needing to worry about that too much work is done when not updating the details very "elastic".
It is still the old way when moving between sections.
2025-12-14 17:39:19 +01:00
Moritz Zwerger 0f3c908188 gui renderer: load atlas in init
Not sure why this was not there before.
2025-12-13 13:56:38 +01:00
Moritz Zwerger 83c1ea5684 mesh loading queue: use locked 2025-12-13 13:56:32 +01:00
Moritz Zwerger 5f2335f13b allow nullable entity aabb 2025-12-09 17:31:17 +01:00
Moritz Zwerger d806720636 remove a lot of old voxel side code
Not needed anymore.
2025-12-05 14:47:23 +01:00
Moritz Zwerger 3ab579d3f2 voxel sides: use null as empty 2025-12-05 14:43:33 +01:00
Moritz Zwerger 817789c0c8 entity: enforce initialization 2025-12-03 22:26:24 +01:00
Moritz Zwerger bf95d5169b armor stand: only update aabb if dimensions changed 2025-12-03 22:23:59 +01:00
Moritz Zwerger 79ab2e88b3 elytra: don't check if item is usable
DurableItem assets that
2025-12-03 15:50:18 +01:00
Moritz Zwerger 067d3e4eb2 cleanup block shape offsetting 2025-12-03 15:49:48 +01:00
Moritz Zwerger edf918da7e aabb: cleanup intersection
way simpler now
2025-12-03 00:18:48 +01:00
Moritz Zwerger 20df4fe77e merge aabb with abstract aabb
Bad change, wanted to make a mutable and not mutable aabb, but that is bad design.
2025-12-02 23:44:16 +01:00
Moritz Zwerger 5d3917a35a minor collision cleanup 2025-12-02 23:40:17 +01:00
Moritz Zwerger e9877a3d44 aabb minor cleanup 2025-12-02 19:39:07 +01:00
Moritz Zwerger 32ca9fd4ee fix some tests 2025-11-29 14:17:45 +01:00
Moritz Zwerger c28c288f23 remove AABB::INFINITY
This was AABB::EMPTY, but both are just shit. They make no sense. Just use null (or an empty shape)
2025-11-29 14:07:46 +01:00
Moritz Zwerger 57811fff60 registries: skip loading invalid aabbs 2025-11-28 22:12:26 +01:00
Moritz Zwerger 45da3ad13e particles: fix bad aabb 2025-11-28 22:12:09 +01:00
Moritz Zwerger ffd69eec29 don't allow invalid aabbs 2025-11-28 15:22:40 +01:00
Moritz Zwerger e1e3d9256c wip start cleaning up aabb 2025-11-28 15:17:21 +01:00
Moritz Zwerger 7282b6ff90 audio player: don't double exit 2025-11-26 19:14:09 +01:00
Moritz Zwerger 6c9c07b22f gl: print memory leak exception
When thrown, nothing happens
2025-11-26 17:28:18 +01:00
Moritz Zwerger 8c8bc2bef7 loaded meshes: fix mesh unloading when replacing mesh in not visible chunk 2025-11-26 17:28:16 +01:00
Moritz Zwerger 184b59f8a6 fix freeze dump + tests
This broke because of a kutil update
2025-11-25 18:25:47 +01:00
Moritz Zwerger d6d239c7c3 disable opengl assertion 2025-11-25 13:04:30 +01:00
Moritz Zwerger ca033f5ffa gpu occlusion: invalidate when fog changes 2025-11-25 12:46:56 +01:00
Moritz Zwerger d3ac2223c3 fog fixes 2025-11-25 12:46:56 +01:00
Moritz Zwerger 42272df75f frustum result, cache gpu occlusion result when frustum/position changes 2025-11-25 12:46:56 +01:00
Moritz Zwerger e2936a843a optimize query 2025-11-25 12:46:56 +01:00
Moritz Zwerger 52c2be0596 gpu occlusion, burn time until frame finished
This is actually kind of great, because we can just use up the time the gpu takes to upload more meshes
2025-11-25 12:46:55 +01:00
Moritz Zwerger 8dd9ced01b chunk mesh: render query 2025-11-25 12:46:55 +01:00
Moritz Zwerger dc0f6baf98 render queries
They are not done yet, it should be possible to query multiple things at the same time
2025-11-25 12:46:55 +01:00
Moritz Zwerger 214a390785 mesh: return count of fragments drawn 2025-11-25 12:46:55 +01:00
Moritz Zwerger d17438126c optimize texture transparency detection + tests
This implementation has way less branches and can be properly optimized by the jvm. It could even be improved with SIMD
2025-11-24 00:06:00 +01:00
Moritz Zwerger 3c1175d221 section light: only calculate block light when section contains luminant blocks
This should improve a performance a bit when joining, no need to loop over a lot of blocks. Next level would be light on demand
2025-11-23 23:33:56 +01:00