143 Commits

Author SHA1 Message Date
Jbleezy
4ff138c67b Fix whitespace 2024-09-15 21:27:13 -07:00
Jbleezy
fe766a734f Use decltype of variable being set 2024-09-15 21:21:05 -07:00
Jan
c91697caea
feat: check for xmodel limits when converting 2024-09-08 22:01:07 +01:00
Jan
931e128eb9
chore: add asset loaders for all asset types of t6 2024-09-08 17:59:09 +01:00
Jan
63556848c1
fix: auto generate armature when imported gltf has none 2024-09-08 13:55:50 +02:00
Jan
36ddb998a4
fix: linux build 2024-09-05 21:56:17 +02:00
Jan
46111ae106
chore: add note about only rigid models being supported right now 2024-09-05 21:19:45 +02:00
Jan
27d047198f
chore: fix not terminating when not being able to load lod 2024-09-05 21:19:44 +02:00
Jan
db5e53e60d
chore: calculate tangents for xmodel vertices 2024-09-05 21:19:44 +02:00
Jan
c261aef1ef
chore: fix xmodel root struct bone trans and quats 2024-09-05 21:19:43 +02:00
Jan
2687fbf9fd
chore: properly calculate partbits for loaded gltf models 2024-09-05 21:19:43 +02:00
Jan
1be630f71e
chore: set vertex base index for all surfaces 2024-09-05 21:19:43 +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
2699de86b6
chore: use remapped vertex indices when building vertices in gltf loading 2024-09-05 21:19:42 +02:00
Jan
f4092972e8
chore: implement vertex weights 2024-09-05 21:19:41 +02:00
Jan
01c284fb37
chore: update t6 xmodel part classifications 2024-09-05 21:19:40 +02:00
Jan
dfd8d1dbe9
chore: load materials for xmodel 2024-09-05 21:19:40 +02:00
Jan
0d343dd3fa
chore: dump and load lod dist from xmodel json 2024-09-05 21:19:40 +02:00
Jan
4db13de471
chore: properly calculate model and bone bounds 2024-09-05 21:19:40 +02:00
Jan
75e22b1750
fix: parentIndex is relative to current bone index 2024-09-05 21:19:39 +02:00
Jan
1f5050befa
feat: first draft of loading gltf models for t6 2024-09-05 21:19:39 +02:00
Jan
219590898f
chore: log exception when parsing xmodel json fails 2024-08-08 18:50:53 +02:00
Jan
0707fa5873
chore: log exception when parsing weapon camo json fails 2024-08-08 18:50:35 +02:00
Jan
939f5b310f
chore: log exception when parsing leaderboard json fails 2024-08-08 18:49:25 +02:00
Jan
f452270f8a
chore: log exception when parsing material json fails 2024-08-08 18:48:51 +02:00
Jan
e68877464d
fix: iw5 leaderboard track type reading 2024-06-01 14:23:33 +02:00
Jan
7c5795f5bc
chore: use std::optional value_or for t6 leaderboard reading 2024-06-01 14:23:23 +02:00
Jan
9367aa889b
chore: load t6 leaderboard asset loader 2024-06-01 14:14:56 +02:00
709168165f
t6: fix default value for dwcolumn 2024-05-26 12:14:34 +02:00
d64d38e582
feat(t6): load leaderboard definitions from raw 2024-05-26 12:11:52 +02:00
Jan
5737f232e2
chore: adjust name of leaderboard asset 2024-05-25 11:23:13 +02:00
Jan
a166878f7d
refactor: use template based asset structs for AssetLoaders 2024-05-25 11:17:04 +02:00
Jan
e68a7303b6
feat: load accuracy graphs using generic 2d graph loader 2024-05-20 13:41:01 +02:00
Jan
5d913acfef
feat: improve error messages when parsing an info string file fails 2024-05-12 22:29:40 +02:00
Jan
1bc1c12244
chore: fix linux build 2024-05-09 22:12:36 +02:00
Jan
abc3003b5b
chore: implement base loading and writing of xmodel json 2024-05-09 22:12:34 +02:00
Jan
28610ae7a9
feat: log invalid enum values for infostring loaders 2024-05-09 20:38:23 +02:00
Jan
ae43a994b9
chore: update usages of AddAsset for template asset struct api 2024-04-23 00:49:05 +02:00
Jan
eb0cec1d81
refactor: make LoadDependency and LoadIndirectAssetReference functions work with Asset template types 2024-04-22 23:36:21 +02:00
Jan
a3acba8bc0
chore: update all usages of memory manager allocation 2024-04-22 21:21:48 +02:00
Jan
aa59768416
chore: remove previous manual lower case conversions of indirect asset references 2024-04-22 19:28:41 +02:00
Jan
4fb00bf368
Merge pull request #170 from diamante0018/main
maint(iw4): compress rawfiles just like on IW5 (fix zlib mem leak IW4, T5, IW5)
2024-04-21 20:22:08 +02:00
Jan
191965a970
chore: do not only load infostring arrays as pairs but n entries 2024-04-21 19:49:00 +02:00
6ed399be86
maint(iw4): compress rawfiles just like on IW5 2024-04-21 13:17:51 +02:00
Jan
d1a189defc
chore: convert anim names to lower before adding as indirect asset references 2024-04-02 23:49:24 +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
4f0ee35740
refactor: use std::extent_v instead of std::extent 2024-03-24 19:46:43 +01:00
Jan
e62e4c873e
fix: not loading t6 weapon camo shader consts from json 2024-03-24 16:57:47 +01:00
Jan
b1ff653dc8
style: fix formatting 2024-03-24 16:35:10 +01:00