316 Commits

Author SHA1 Message Date
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
9ab78d5384
fix: correct asset references in xmodel material dumping 2024-05-09 22:12:39 +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
2497a9f228
fix: use after free when dumping xmodel vertex weights 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
8a0c93d3d8
feat: add gltf and glb as model dumping formats 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
Jan
abc3003b5b
chore: implement base loading and writing of xmodel json 2024-05-09 22:12:34 +02:00
Jan
ff9cb67d84
Merge pull request #172 from Laupetin/feature/iw5-weapons
feat: load iw5 attachments and weapons
2024-04-21 20:07:45 +02:00
Jan
e764373013
feat: load iw5 weapons 2024-04-21 19:49:00 +02:00
Jan
49239f2007
chore: rename fx related override structs in iw5 2024-04-21 19:48:59 +02:00
Jan
28949f4ee8
chore: use constants for model array sizes in iw5 attachment writing 2024-04-21 19:39:28 +02:00
c34eab16ea
fix: check for NULL string in stringtable check before dumping 2024-04-21 17:29:15 +02:00
Jan
9248cc323c
feat: dump iw5 weapon attachments as json 2024-04-14 12:48:18 +02:00
Jan
f8c9e62624
chore: add missing iw5 weapon fields 2024-04-07 23:40:34 +02:00
Jan
dc99acd3f6
chore: fix using extent of keys instead of values 2024-04-07 23:04:19 +02:00
Jan
cca67ebafa
chore: dump iw5 weapon notetrack overrides 2024-04-07 23:04:13 +02:00
Jan
7b23461e2a
chore: dump iw5 weapon reload overrides 2024-04-07 23:04:00 +02:00
Jan
c1a4874791
chore: add static assertions for weapon field names 2024-04-07 23:03:36 +02:00
Jan
4f0d9674ff
chore: dump iw5 weapon fx overrides 2024-04-07 23:03:30 +02:00
Jan
ea0cb66eae
chore: dump iw5 weapon sound overrides 2024-04-07 23:02:59 +02:00
Jan
8554939c91
chore: dump iw5 weapon anim overrides 2024-04-07 21:01:20 +02:00
Jan
fecd486f44
chore: dump iw5 attachments that are used by weapons 2024-04-07 14:10:50 +02:00
Jan
9c4128b830
chore: update iw5 weapon fulldef sizes 2024-04-07 09:49:53 +02:00
Jan
7be21ebb20
feat: dump iw5 weapons on iw4 level 2024-04-06 11:46:39 +02:00
Jan
a1cf4ef30b
feat: load iw4 weapons from raw 2024-04-02 23:49:06 +02:00
Jan
239001e6f2
refactor: use std ranges functions where applicable 2024-03-24 20:49:15 +01:00
Jan
132cccb971
refactor: use new line character instead of std::endl 2024-03-24 20:24:22 +01:00
Jan
1b13f1f1b4
refactor: only use sizeof with parenthesis 2024-03-24 19:56:06 +01:00
Jan
4f0ee35740
refactor: use std::extent_v instead of std::extent 2024-03-24 19:46:43 +01:00
Jan
742b8d5bc6
chore: restructure t6 weapon camo json 2024-03-24 16:24:05 +01:00
Jan
73d6d2bf5c
feat: dump t6 WeaponCamo asset as json 2024-03-24 01:20:49 +01:00
Jan
cf02d7ac83
chore: use anonymous namespace for JsonMaterialWriter 2024-03-24 01:20:22 +01:00
Jan
cf891e458a
chore: move json classes to json folder 2024-03-24 00:51:33 +01:00
Jan
1f6d0ab51a
chore: replace material dumping with lib recommendation of serializing and deserializing json 2024-02-29 17:27:44 +01:00