30 Commits

Author SHA1 Message Date
Jan
a2735b4f23
chore: use generic xmodel loader and dumper code for t5 2024-09-20 16:44:06 +01:00
Jan
e9c66a2e28
chore: move xmodel dumping and loading code into generic files 2024-09-20 16:44:06 +01:00
Jan
becfdbf814
chore: omit skel node when dumping gltf without armature 2024-09-08 14:40:20 +02:00
Jan
8d2f5541d3
chore: make gltf dumping and loading work for models without bone weights 2024-09-05 21:19:43 +02:00
Jan
36bc3cf7a3
chore: fix invalid sign when loading gltf 2024-09-05 21:19:42 +02:00
Jan
1f5050befa
feat: first draft of loading gltf models for t6 2024-09-05 21:19:39 +02:00
Jan
f8b5734f86
chore: make XModelCommon use offset instead of pointer 2024-09-05 21:19:38 +02:00
Jan
d45f0ffab7
chore: adjust XModelCommon numeric types 2024-09-05 21:19:38 +02:00
Jan
7897c11e62
fix: warnings preventing release build for MSVC 2024-05-19 14:38:59 +02:00
Jan
c89a6631b0
chore: replace custom vector, quaternion, matrix implementation with eigen library 2024-05-12 19:32:06 +02:00
Jan
9979275f8c
fix: gltf mesh wrong bone and invertBindMatrix transformations 2024-05-12 16:42:44 +02:00
Jan
499b752272
chore: add names to exported gltf models 2024-05-11 01:51:28 +02:00
Jan
5c06b6e5e4
chore: dump gltf skin inverseBindMatrices 2024-05-11 01:23:52 +02:00
Jan
6a1962b65a
chore: export separate root node for gltf 2024-05-11 01:23:52 +02:00
Jan
1c105db5bc
fix: quaternion multiplication and division
i hope its correct at least, quaternions are not my strength
2024-05-11 01:23:51 +02:00
Jan
c74be5e8ae
chore: dump gltf vertex weights 2024-05-11 00:44:03 +02:00
Jan
a0138c8abc
chore: set gltf material default metallicness to 0 2024-05-09 22:12:39 +02:00
Jan
1a35152098
chore: dump more information about gltf materials 2024-05-09 22:12:38 +02:00
Jan
ebccd67676
chore: fill dumped gltf min max fields for position accessor 2024-05-09 22:12:38 +02:00
Jan
c587dae05f
fix: build on linux 2024-05-09 22:12:38 +02:00
Jan
07fa12b7f6
chore: implement mesh gltf export 2024-05-09 22:12:38 +02:00
Jan
a39e993cc6
chore: use XModelCommon for dumping obj to reduce code duplication 2024-05-09 22:12:37 +02:00
Jan
45684ac828
fix: accidentally dumping NORMAL twice for xmodel export 2024-05-09 22:12:37 +02:00
Jan
826e59d627
chore: update xmodel common to be a struct with substructs 2024-05-09 22:12:37 +02:00
Jan
0a65c93aa5
chore: move materialIndex to XModelObject 2024-05-09 22:12:36 +02:00
Jan
1bc1c12244
chore: fix linux build 2024-05-09 22:12:36 +02:00
Jan
0d96213f21
chore: export gltf basic attributes 2024-05-09 22:12:36 +02:00
Jan
f2438bea12
chore: write gltf header with new writers and outputs 2024-05-09 22:12:35 +02:00
Jan
c27f4ed544
chore: add output implementations for gltf and glb 2024-05-09 22:12:35 +02:00
Jan
d4ef9fa3d9
chore: move xmodel packages 2024-05-09 22:12:35 +02:00