Commit Graph

595 Commits

Author SHA1 Message Date
Lars Mueller
520ecc641b texmod.read: Fix [transform followed by a lowercase letter 2023-05-27 19:12:49 +02:00
Lars Mueller
5dc6307661 Fix texmod.colorize crash if ratio is nil 2023-05-27 17:21:41 +02:00
Lars Mueller
73640f11d1 texmod: Stricter file name validation 2023-05-27 14:33:46 +02:00
Lars Mueller
8e5bdc817c Fix handling of multiple texmod transforms 2023-05-27 14:24:54 +02:00
Lars Mueller
e07d646203 texmod.read: Make transforms case-insensitive 2023-05-26 19:27:47 +02:00
Lars Mueller
741746613b Move local var to appropriate scope 2023-05-24 22:42:38 +02:00
Lars Mueller
0b521bbb61 Fix texmod:write emitting unnecessary parens 2023-05-24 22:37:55 +02:00
Lars Mueller
95159c48e8 Refactor texmod:read to pass reader around 2023-05-24 22:27:25 +02:00
Lars Mueller
fe7fb6aeec Remove unused variable in texmod:calc_dims 2023-05-24 22:25:46 +02:00
Lars Mueller
d4ca847b0e Add support for [png to texmod:calc_dims 2023-05-24 21:28:46 +02:00
Lars Mueller
b169077a40 Refactor texmod:calc_dims to use a dispatch table 2023-05-24 21:09:24 +02:00
Lars Mueller
9fc4aaf3b8 Add experimental texture modifier DSL 2023-05-24 19:39:20 +02:00
Lars Mueller
6ba9ec8fac Bump version rolling-102 2023-04-02 15:10:53 +02:00
Lars Mueller
fc0585e86c b3d -> glTF: Fix handling of static vertices in animated meshes
Introduces a "neutral bone" to attach static vertices to.
2023-04-02 14:52:57 +02:00
Lars Mueller
88fec749f5 b3d -> glTF: Gracefully normalize normals 2023-04-02 14:43:31 +02:00
Lars Mueller
c48e4bf340 Bump version rolling-101 2023-04-01 11:32:04 +02:00
Lars Mueller
785dcb80f4 Fix lack of defaults for wallmounted boxes 2023-04-01 11:29:23 +02:00
Lars Mueller
2425862045 Fix b3d->glTF conv. of models without materials 2023-03-14 17:23:52 +01:00
Lars Mueller
64c5a04a1f Bump version rolling-100 2023-03-04 15:06:56 +01:00
Lars Mueller
a6aaf9938c Add minetest.media.overridden_mods 2023-03-04 15:00:33 +01:00
Lars Mueller
cc49af0ae6 Fix collecting media from subfolders 2023-03-04 15:00:09 +01:00
Lars Mueller
2f4ed5b857 Add b3d module documentation 2023-03-03 21:11:12 +01:00
Lars Mueller
ae0c87537e b3d -> glTF: Use own base64 (to remove MT dep.) 2023-02-28 13:40:41 +01:00
Lars Mueller
88dcf46bd4 Add base64 encoding & decoding 2023-02-28 13:39:20 +01:00
Lars Mueller
05e62dec10 b3d -> glTF: Add base64 padding 2023-02-28 00:23:49 +01:00
Lars Mueller
c8738450c7 b3d -> glTF: Fix buffer padding 2023-02-28 00:23:35 +01:00
Lars Mueller
e91a406742 b3d -> glTF: Use mesh as skeleton root 2023-02-28 00:23:35 +01:00
Lars Mueller
f7d2b005e1 Add highly experimental b3d to glTF conversion 2023-02-26 18:35:43 +01:00
Lars Mueller
f225499795 Remove unnecessary if 2023-02-26 16:55:54 +01:00
Lars Mueller
fdfe65167f Fix math.fround 2023-02-26 16:47:39 +01:00
Lars Mueller
c5e622f4a9 Add quaternion.len 2023-02-26 14:46:13 +01:00
Lars Mueller
acdce1742d Add basic 4x4 matrix "class" (for b3d to glTF) 2023-02-26 13:18:10 +01:00
Lars Mueller
fcd53ba269 Fix json.new setting an invalid metatable 2023-02-25 20:33:24 +01:00
Lars Mueller
72ca08ed3a Add basic minetest.mod.require rolling-99 2022-11-05 11:42:01 +01:00
Lars Mueller
1bccb39142 Readme: Acknowledge grorp's contributions 2022-10-29 17:31:23 +02:00
Lars Mueller
26d9b131a5 Minetest: Boxes: pairs -> ipairs
Proposed by Gregor Parzefall in 1d2b103abe
2022-10-29 17:25:16 +02:00
Lars Mueller
2eaaca5de4 Minetest: Boxes: Fix connect_sides handling
Bug reported & similar fix proposed by Gregor Parzefall in 1d2b103abe
2022-10-29 17:25:03 +02:00
Lars Mueller
e6c5860cb9 Minetest: Boxes: Fix walkable/pointable check
Bug reported by Gregor Parzefall in https://github.com/appgurueu/modlib/pull/8#issuecomment-1295793962
2022-10-29 16:45:04 +02:00
Lars Mueller
2d056e72ae PNG: Fix call vs. assignment ambiguity 2022-10-07 17:54:01 +02:00
Lars Mueller
264687e302 Expose minetest.obj module 2022-10-03 18:46:16 +02:00
Lars Mueller
b688f49632 Remove modlib.conf module 2022-10-03 18:27:34 +02:00
Lars Mueller
ea534909c7 Remove defunct Lua version compat 2022-10-03 18:24:07 +02:00
Lars Mueller
b19d4febb2 Add modlib.G & modlib.set_environment 2022-10-03 18:22:59 +02:00
Lars Mueller
cc0c11edb4 Add Minetest .obj model reader 2022-10-03 13:46:40 +02:00
Lars Mueller
8fadca6c4d Luon: Incorporate changes to MT serializer 2022-10-02 14:18:16 +02:00
Lars Mueller
e34b64ece8 Add utf8.codes iterator; change utf8.codepoint 2022-10-01 20:39:25 +02:00
Lars Mueller
feb6ad276e Add utf8.codepoint (inverse of utf8.char) 2022-10-01 19:40:22 +02:00
Lars Mueller
ef2f1020c7 Add utf8.charpattern 2022-10-01 19:31:46 +02:00
Lars Mueller
cd234548e5 Fix & optimize utf8.char 2022-10-01 19:31:27 +02:00
Lars Mueller
4677b2c827 Make utf8.char variadic, (re)move checks 2022-10-01 18:45:12 +02:00