4653 Commits

Author SHA1 Message Date
Moritz Zwerger
8051ffc7c7
don't auto instance face size 2023-07-31 20:53:44 +02:00
Moritz Zwerger
478f380b8a
proper uv rotating 2023-07-31 18:46:18 +02:00
Moritz Zwerger
0820d076c9
improve texture rotation code 2023-07-31 18:02:29 +02:00
Moritz Zwerger
74562a8fe9
more cuboid tests 2023-07-31 17:17:26 +02:00
Moritz Zwerger
85a50001f8
fix cuboid test
Wrong reading :)
2023-07-31 02:43:07 +02:00
Moritz Zwerger
feb8484f74
more uv tests 2023-07-31 02:19:21 +02:00
Moritz Zwerger
7726de25c7
fix weighted model retrieving
Yes, that `.toInt()` was missing. It literally took me over one hour to debug. I attached a debugger to minecraft and it was a total mess.
2023-07-30 23:32:43 +02:00
Moritz Zwerger
175f6d0729
weighted model test 2023-07-30 23:31:52 +02:00
Moritz Zwerger
104de119dc
tests: replace all uv coordinates with color codes
Context: I created a colored debug texture that has every color in the corner. I am creating the model in minecraft, reading all sides and then writing the test from that data
2023-07-30 22:07:18 +02:00
Moritz Zwerger
e6bfc55851
fix some uv tests, improve test readability 2023-07-30 22:00:32 +02:00
Moritz Zwerger
6e216a00e1
test light index 2023-07-30 21:39:55 +02:00
Moritz Zwerger
17b9086930
correct wrong pixlyzer random block offset 2023-07-30 21:14:27 +02:00
Moritz Zwerger
f453878333
split model loading in loading and baking 2023-07-30 20:24:16 +02:00
Moritz Zwerger
dc00c01bf9
remove cull face
Determinant by minosoft now. maybe transparency breaks
2023-07-30 18:43:48 +02:00
Moritz Zwerger
d21dd70abe
replace Namespaces.minecraft with minecraft 2023-07-30 17:39:57 +02:00
Moritz Zwerger
7ba4e45edf
fix loading crash with no assets
Reported-By: turtius
2023-07-30 17:13:13 +02:00
Moritz Zwerger
702aee0974
remove Directions::campfireId
This was deprecated for long enough
2023-07-30 16:40:47 +02:00
Moritz Zwerger
16a8941f55
fix leaves light properties 2023-07-30 16:36:52 +02:00
Moritz Zwerger
726493e9ea
Merge branch 'master' into work/model-bakery3 2023-07-30 16:28:47 +02:00
Moritz Zwerger
676bc9325c
query health: show death state 2023-07-30 15:04:36 +02:00
Moritz Zwerger
3f47c3f5f3
properly format command exception 2023-07-30 14:56:40 +02:00
Moritz Zwerger
8041df4d71
commands: disconnect, quit 2023-07-30 01:53:06 +02:00
Moritz Zwerger
8de97ec940
debug command (toggle allow fly) 2023-07-30 01:50:50 +02:00
Moritz Zwerger
8fe28982d2
brigadier: rename onlyDirectExecution to allowArguments 2023-07-30 01:50:37 +02:00
Moritz Zwerger
3c0620874a
warn if eros is disabled 2023-07-30 01:44:45 +02:00
Moritz Zwerger
d3ba3fcc2e
commands: action, query
Improvement to #94
2023-07-30 01:33:28 +02:00
Moritz Zwerger
578e5fcf13
log: ignore "sleep interrupted" exception on shutdown 2023-07-29 22:56:11 +02:00
Moritz Zwerger
ea3a1a94d1
improve help command
There is still more room for improvement
2023-07-29 22:41:10 +02:00
Moritz Zwerger
09c583e1fd
cli: wait until minosoft is fully started 2023-07-29 22:27:48 +02:00
Moritz Zwerger
aef2de7ce6
reformat about command 2023-07-29 22:24:47 +02:00
Moritz Zwerger
453b0faa5f
fix crash when rendering null chars (i.e. not in used font)
Reported-By: turtius
2023-07-29 22:22:56 +02:00
Moritz Zwerger
b7ef4b95c6
improve empty code point rendering
Reported-By: turtius
2023-07-29 22:13:24 +02:00
Moritz Zwerger
442964619d
notify user about cli 2023-07-29 21:29:20 +02:00
Moritz Zwerger
7e495e9ba5
about command 2023-07-29 21:25:28 +02:00
Moritz Zwerger
7904cc3c1d
cli: remove \n and \r 2023-07-29 21:05:29 +02:00
Moritz Zwerger
f33f302c15
don't require assets to be loaded
This fixes some loading crashes when all assets are disabled in the `resources.json`.

Reported-By: turtius
2023-07-29 21:03:47 +02:00
Moritz Zwerger
9ec4eb8278
minor test performance improvements
- ChunkHeightmap is now only calculated if dimension has light (aka. only in light tests)
- occlusion culling and light is just updated when dimension has light (world filling)
- ...
2023-07-29 18:33:26 +02:00
Moritz Zwerger
bd549a1355
block entity ticking: only tick in regions where blocks are set 2023-07-29 17:15:08 +02:00
Moritz Zwerger
a278b6813b
resort some loops to y->z->y
This is because the values are indexed in that way and cpu caching improves performance
2023-07-29 17:14:45 +02:00
Moritz Zwerger
a7b10aaa49
optimize sky light (down) tracing 2023-07-29 16:55:50 +02:00
Moritz Zwerger
61228a9c05
bump mbf, optimize some laoding
Now tests go down from 8.1s to 7.3s. Way faster than before. This also improves loading time.
2023-07-29 16:34:37 +02:00
Moritz Zwerger
c74e2f970f
improve testing performance 2023-07-29 14:49:38 +02:00
Moritz Zwerger
b502067f28
test: cache profiles and pixlyzer data 2023-07-29 14:31:45 +02:00
Moritz Zwerger
d8ce0449a2
performance: cache some reflection fields 2023-07-29 14:30:21 +02:00
Moritz Zwerger
48a4880092
remove GreedyBakedBlockModel.kt 2023-07-29 13:51:25 +02:00
Moritz Zwerger
a278b7ba82
cleanup light testing util 2023-07-29 01:26:02 +02:00
Moritz Zwerger
dd4c3f8eae
log: add reset to every line 2023-07-29 01:17:00 +02:00
Moritz Zwerger
635e8a7aa9
rename test group 2023-07-29 01:09:36 +02:00
Moritz Zwerger
cfd1207cdd
Merge branch 'improve-light' 2023-07-29 00:51:09 +02:00
Moritz Zwerger
732394c5fe
fix light benchmark 2023-07-29 00:48:25 +02:00