Commit Graph

54 Commits

Author SHA1 Message Date
Jan
308816a38e chore: write game into dumped jsons to prevent mixup of incompatible formats 2025-06-24 19:50:24 +01:00
Jan
80558af9a1 fix: accessing freed memory when writing gltf inverseBindMatrix 2025-06-19 18:59:27 +01:00
Jan
2a4c0dcb43 fix: dumping xmodels with multiple surfaces and no bones 2025-05-11 20:55:52 +01:00
Jan
365b627523 refactor: fix remaining x64 compilation issues 2025-04-27 19:30:36 +02:00
Jan
5635470b6e refactor: cryptography component 2025-04-26 19:08:15 +02:00
Jan
76c22ffce2 chore: adjust include path for lz4 dependency 2025-04-23 17:17:24 +01:00
Jan
dc282170bc chore: small code style adjustments for XModelBinWriter 2025-04-23 17:17:24 +01:00
101487d869 Fixed Memory leak + other small fixes 2025-04-22 11:31:40 +02:00
8946c28eab Fixed Code Style 2025-04-19 15:58:37 +02:00
2a45357d5c Added Comments 2025-04-13 14:50:11 +02:00
7aebe085b3 Fixed More Int Literals Not Working On Linux 2025-04-11 23:39:39 +02:00
ef79504e71 Fixed Int Literals Not Working On Linux 2025-04-11 23:22:54 +02:00
812f7e1f91 Fixed Precision Issue 2025-04-11 22:57:09 +02:00
eff80a0318 Improved XModelBin Hash Readability 2025-04-11 19:03:41 +02:00
8ac276f3f6 Added XMODEL_BIN Export 2025-04-09 17:45:37 +02:00
Jan
6f31e8cc29 chore: fix compilation issues with x64 2025-04-06 18:02:47 +01:00
Jan
820fe47473 fix: always use lowercase extensions for xmodels 2025-04-05 12:42:55 +02:00
Jan
140eb7b7a4 feat: dump objects into gltf meshes instead of primitives 2025-01-23 17:47:30 +00:00
Jan
708e759f8c chore: update code style of gltf writer 2025-01-23 17:23:33 +00:00
Jan
80fa61b45c chore: update xmodel dumper code style 2025-01-23 17:09:09 +00:00
Jan
2d58054ffc refactor: make use of IOutputPath in ObjWriting 2025-01-11 17:52:04 +01:00
Jan
7649e5d58f chore: generalize base64 usage 2024-09-22 15:10:54 +02:00
Jan
d05c1730fa feat: dump and load xmodels for IW5 via template 2024-09-20 16:44:07 +01:00
Jan
fc216a153f chore: use RawTemplater to template XModel dumping code for t5 and t6 2024-09-20 16:44:07 +01:00
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