1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00
Commit graph

12778 commits

Author SHA1 Message Date
Lars Mueller
e0bde0ca59 reassert 2025-05-24 17:29:50 +02:00
Lars Mueller
b8799e9f84 hecks 2025-05-24 17:29:50 +02:00
Lars Mueller
cddd1a54f1 clean some remaining things up 2025-05-24 17:29:50 +02:00
Lars Mueller
d1a46a8da5 Use getRotationRadians 2025-05-24 17:29:50 +02:00
Lars Mueller
1a8912716f do the todo 2025-05-24 17:29:50 +02:00
Lars Mueller
a1ed14f4c2 only call on animate cb if available 2025-05-24 17:29:50 +02:00
Lars Mueller
78f2ccc6db fix failing assert 2025-05-24 17:29:50 +02:00
Lars Mueller
63b9979ff7 fix
moar fix

optimize cool guy texture
2025-05-24 17:29:50 +02:00
Lars Mueller
307ab111d0 Make animation blending and bone overrides interact favorably 2025-05-24 17:29:50 +02:00
Lars Mueller
455f7a4cae Do bounding box & matrix calculation at proper point in time 2025-05-24 17:29:50 +02:00
Lars Mueller
07963f1af5 minor cleanup 2025-05-24 17:29:50 +02:00
Lars Mueller
66e779b87f Implement [gs]etBoundingBox via the static pose 2025-05-24 17:29:50 +02:00
Lars Mueller
de726bd41e rename 2025-05-24 17:29:50 +02:00
Lars Mueller
c7c99296cb Fix animation blending 2025-05-24 17:29:50 +02:00
Lars Mueller
a5180fbb28 do it properly 2025-05-24 17:29:50 +02:00
Lars Mueller
704821c41e gltf, doc: warn that nodes using matrix transforms mustn't be animated (this is in the spec) 2025-05-24 17:29:50 +02:00
Lars Mueller
4dacb66693 fixes 2025-05-24 17:29:50 +02:00
Lars Mueller
8c00f403f1 .x loader unit test 2025-05-24 17:29:50 +02:00
Lars Mueller
15da2d3d25 Revert "DEBUGGERY"
This reverts commit e1becd8a390bbb2396808559bb3ab00917a28322.
2025-05-24 17:29:50 +02:00
Lars Mueller
9b87f4d294 Add .x mesh loader unittest 2025-05-24 17:29:50 +02:00
Lars Mueller
87213f1591 DEBUGGERY 2025-05-24 17:29:49 +02:00
Lars Mueller
19ea7c8e50 todo 2025-05-24 17:29:19 +02:00
Lars Mueller
46cd7b28a6 fix oopsie 2025-05-24 17:29:19 +02:00
Lars Mueller
0e457bd78b Bring back cool guy as another .x smoke test 2025-05-24 17:29:19 +02:00
Lars Mueller
6892a5e332 boxes 2025-05-24 17:29:18 +02:00
Lars Mueller
d73b86c16a no more children 2025-05-24 17:29:18 +02:00
Lars Mueller
8dbcaf25c3 rebase 2025-05-24 17:29:18 +02:00
Lars Mueller
503d7cf081 progress 2025-05-24 17:29:17 +02:00
Lars Mueller
d10abba38c Restore / fix bone overrides 2025-05-24 17:28:28 +02:00
Lars Mueller
a687a7a6e7 cleanup 2025-05-24 17:28:28 +02:00
Lars Mueller
abc2e54c07 stuff 2025-05-24 17:28:28 +02:00
Lars Mueller
769c472ceb cleanup 2025-05-24 17:28:28 +02:00
cx384
d17f22f536
Fix texture coordinates of cuboid drawtypes (#16091)
Fixes issues related to combining animated and world-aligned textures.
Changes texture coordinates of cuboid drawtypes to stay in the [0,1] range, instead of carrying the mapblock alignment and becoming negative after transformations.
2025-05-24 15:59:32 +02:00
SmallJoker
2f1171e2a7
Formspec: Fix broken 9-slice image button with gui_scaling_filter (#16146)
The setting 'gui_scaling_filter = true' previously broke 9-slice images.
With this change, custom button background images now scale the same as
backgrounds created using 'background9[...]' (9-slice images).
2025-05-24 15:58:04 +02:00
sfan5
66aa5f3fac Continue with 5.13.0-dev 2025-05-23 17:43:09 +02:00
sfan5
8f0838506a Bump version to 5.12.0 2025-05-23 17:43:08 +02:00
updatepo.sh
9b2aeb2ca2 Update minetest.conf.example 2025-05-23 17:09:44 +02:00
Josu Igoa
b459d6ee63 Translated using Weblate (Basque)
Currently translated at 21.0% (323 of 1531 strings)
2025-05-23 17:05:47 +02:00
waxtatect
fc1d57b666 Translated using Weblate (French)
Currently translated at 100.0% (1531 of 1531 strings)
2025-05-23 17:05:47 +02:00
Ian Pedras
db561ff094 Translated using Weblate (Portuguese)
Currently translated at 80.6% (1235 of 1531 strings)
2025-05-23 17:05:47 +02:00
BlackImpostor
f6c933d891 Translated using Weblate (Russian)
Currently translated at 100.0% (1531 of 1531 strings)
2025-05-23 17:05:47 +02:00
y5nw
813f67021b Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 88.7% (1358 of 1531 strings)
2025-05-23 17:05:47 +02:00
Linerly
1b9a5074a2 Translated using Weblate (Indonesian)
Currently translated at 100.0% (1531 of 1531 strings)
2025-05-23 17:05:47 +02:00
Francesco Rossi
31e923e51a Translated using Weblate (Italian)
Currently translated at 76.0% (1164 of 1531 strings)
2025-05-23 17:05:47 +02:00
sfan5
95695f1cd2 Translated using Weblate (German)
Currently translated at 99.8% (1528 of 1531 strings)
2025-05-23 17:05:47 +02:00
Lars Müller
7ac5502fdf
Fix handling of skinned meshes for nodes
Second try after the revert in 8a28339 due to an unexpected regression.

- Rigidly animated models (e.g. the glTF frog node) were not working correctly,
  since cloning the mesh ignored the transformation matrices.
  Note that scaling the mesh needs to occur *after* transforming the vertices.
- Visual scale did not apply to skinned models,
  as resetting the animation overwrote scaled vertex data with static positions & normals.
  For backwards compatibility, we now apply a 10x scale to static, non-glTF models.

We now do scale static meshes, as the bug that caused meshes not to be scaled was limited to skeletally animated meshes,
hence we ought not to reproduce it for skinned meshes that do not take advantage of skeletal animations (e.g. current MTG doors).

However, glTF models (e.g. Wuzzy's eyeballs) up until recently were always affected due to technical reasons
(using skeletal animation for rigid animation).

Thus, to preserve behavior, we:

1. Do not apply 10x scale to glTF models.
2. Apply 10x scale to obj models.
3. Apply 10x scale to static x or b3d models, but not to animated ones.

See also: #16141
2025-05-20 18:37:33 +02:00
Nathanaëlle Courant
30e33d71cc
Main menu: Fix ContentDB aliases for games having the '_game' suffix (#16157) 2025-05-19 10:29:37 +02:00
Daniel Cristian
4700939949
Fix uninitialized variable warning in generate_srp_verifier_and_salt 2025-05-18 21:59:57 +02:00
SmallJoker
56ecf6d332
Mainmenu: Fix error after ESC in dialog windows (#16130)
The error was caused by fd857374, where 'MenuQuit' was processed after 'try_quit'.
This commit fixes the error by moving the special 'MenuQuit' handling to Lua.
2025-05-18 20:41:42 +02:00
sfan5
554dd5ddf4
Update credits for 5.12.0 (#16142) 2025-05-18 12:13:57 +02:00