4287 Commits

Author SHA1 Message Date
Moritz Zwerger
b164576156
optimize occlusion culling flood filling
Now all negative blocks are not checked initially anymore. This is really not needed, because they must all have been checked before. There is still room for optimizations, it does not need to trace back.
2023-08-31 22:57:25 +02:00
Moritz Zwerger
e5c54c03e1
fix test building 2023-08-31 22:56:01 +02:00
Bixilon
5dd8fbb1c9
glfw: properly fire initial window resize
on mac os custom os scaling is used, thus the initial viewport is wrong. #29
2023-08-31 21:00:02 +02:00
Bixilon
77f2f1ea56
eros: fix null class loader crash on mac os #29 2023-08-31 20:50:40 +02:00
Moritz Zwerger
f6ba94eb8b
wighted face properties test 2023-08-03 01:08:30 +02:00
Moritz Zwerger
b7449b2d29
model loader: don't warn if particle texture not found 2023-08-01 21:02:07 +02:00
Moritz Zwerger
7336a1fad4
basic face properties test 2023-08-01 20:57:37 +02:00
Moritz Zwerger
2e4cfcf143
fix model test setup 2023-08-01 20:44:16 +02:00
Moritz Zwerger
f9b3587322
model loading: small optimisations 2023-08-01 20:35:27 +02:00
Moritz Zwerger
ff78e2e3cd
cache block models 2023-08-01 20:26:28 +02:00
Moritz Zwerger
42f7255739
FadingTextElement: fix cache invalidation 2023-08-01 19:38:11 +02:00
Moritz Zwerger
dd4bbd2c92
item rendering: fallback to particle texture 2023-08-01 19:32:38 +02:00
Moritz Zwerger
b2216682a2
flat item rendering 2023-08-01 19:29:27 +02:00
Moritz Zwerger
d35a504930
wip render item models 2023-08-01 19:09:11 +02:00
Moritz Zwerger
e4b40f4c3b
block models: particle texture 2023-08-01 16:50:02 +02:00
Moritz Zwerger
0000f39be9
fix pixlyzer model offsetting 2023-08-01 16:16:44 +02:00
Moritz Zwerger
4044e9a0ba
random block offset 2023-08-01 15:56:41 +02:00
Moritz Zwerger
a77536c64e
resort assets override 2023-08-01 15:49:26 +02:00
Moritz Zwerger
d92886272c
account: remove client token
They are only needed in mojang accounts. Might break them. !44
2023-08-01 15:08:52 +02:00
Moritz Zwerger
c78ace5f4c
fix sign text flipping 2023-08-01 15:03:36 +02:00
Moritz Zwerger
0f3e15cd82
fix meshed block entity renderer
sign text is now displayed again
2023-08-01 14:55:29 +02:00
Moritz Zwerger
7223ca11e3
block state free rotation
and reenabled sign models
2023-08-01 04:29:19 +02:00
Moritz Zwerger
8b03e0b206
improve element rotation performance 2023-08-01 03:22:11 +02:00
Moritz Zwerger
e858e6a1d9
wip element rotation 2023-08-01 03:14:53 +02:00
Moritz Zwerger
17f7c96a2b
silently ignore font loading errors (if not default)
They are not yet present in 1.14
2023-08-01 02:01:57 +02:00
Moritz Zwerger
f5ae8978b9
wip fluid culling 2023-08-01 01:07:18 +02:00
Moritz Zwerger
14b0d11943
refactor more code 2023-08-01 00:52:32 +02:00
Moritz Zwerger
fae7d123f0
uvlock tests, fix them 2023-07-31 23:16:41 +02:00
Moritz Zwerger
9068f249c6
rename section preparer to mesher 2023-07-31 23:07:56 +02:00
Moritz Zwerger
3fbc54acc8
fix uvlock rotating
Somehow the tests fail. Interesting.
2023-07-31 22:54:54 +02:00
Moritz Zwerger
7a1133200e
add stairs tests
Rotating with uvlock an odd number is failing.
2023-07-31 21:45:59 +02:00
Moritz Zwerger
0ad879d36d
fix fallback uv tests 2023-07-31 21:45:35 +02:00
Moritz Zwerger
3840519d44
fix some uvlock issues 2023-07-31 21:27:01 +02:00
Moritz Zwerger
b54bf50cef
fix some uvlock tests 2023-07-31 21:18:17 +02:00
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