Commit Graph

34 Commits

Author SHA1 Message Date
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
2425862045 Fix b3d->glTF conv. of models without materials 2023-03-14 17:23:52 +01:00
Lars Mueller
ae0c87537e b3d -> glTF: Use own base64 (to remove MT dep.) 2023-02-28 13:40:41 +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
aa327126bf b3d writing: Round Lua doubles to floats
rather than erroring if float (precision) bounds are exceeded
2022-07-02 17:39:43 +02:00
Lars Mueller
c088057d56 Clean up B3D reader, add B3D writer 2022-06-08 11:31:25 +02:00
Lars Mueller
aef7ad5e6e Improve b3d:get_animated_bone_properties 2022-06-04 14:27:51 +02:00
Lars Mueller
df4711bb4f B3D: Fix get_animated_bone_properties 2022-05-11 19:32:38 +02:00
Lars Mueller
b00c0f0d51 B3D: Fix incorrect reading of brush blend & fx as floats 2022-04-21 11:08:43 +02:00
Lars Mueller
eb0c6b28d3 Don't rely on undefined order of execution 2022-01-07 18:50:36 +01:00
Lars Mueller
9d28fb24d4 Add & use binary.(read|write)_int 2021-10-10 18:14:35 +02:00
Lars Mueller
4175974def Redo environments 2021-06-17 19:45:08 +02:00
Lars Mueller
0315a77696 Localize globals per file for all modules 2021-06-11 20:47:29 +02:00
Lars Mueller
2825dc60aa Class modules: Monkey-patch metatables 2021-04-22 21:04:07 +02:00
Lars Mueller
0f9247c4fd b3d: Fix rotation interpolation 2021-04-01 18:45:58 +02:00
Lars Mueller
9a18150304 Add parent_bone_name to animated bone properties 2021-04-01 17:18:39 +02:00
Lars Mueller
4095969890 b3d: Return a list of animated bone properties 2021-04-01 17:12:00 +02:00
Lars Mueller
adb4b4fdaf Indentation: Use only tabs 2021-03-27 20:10:49 +01:00
Lars Mueller
2005754a46 Add binary module to reduce code duplication 2021-03-13 16:55:21 +01:00
Lars Mueller
8105ee2419 Experimental binary lua object notation (bluon) 2021-03-05 15:07:34 +01:00
Lars Mueller
8c97425fbc b3d: add support for positive nan 2021-03-03 18:31:38 +01:00
Lars Mueller
95598799ee Revert "Fix B3D reader: Don't rely on table constructor execution order"
This reverts commit fe26d4c793fd4956b2e1dda881c26736c0062b1b.
2021-02-26 22:22:19 +01:00
Lars Mueller
fe26d4c793 Fix B3D reader: Don't rely on table constructor execution order 2021-02-26 18:36:46 +01:00
Lars Mueller
3807c32df5 Fix syntax error 2021-02-06 12:03:35 +01:00
Lars Mueller
a462b313f1 Redo get_animated_bone_properties 2021-02-06 11:55:43 +01:00
Lars Mueller
b8a3e162cc B3D: Add calculate_absolute_bone_properties 2021-02-02 23:15:24 +01:00
Lars Mueller
12826a7840 Strip unneeded zero weights 2021-02-01 13:29:00 +01:00
Lars Mueller
81793819a3 Improve B3D table format 2021-02-01 13:20:07 +01:00
Lars Mueller
f5a7d6b1fe Experimental Blitz3D .b3d file reader 2021-01-31 21:41:42 +01:00