Commit Graph

536 Commits

Author SHA1 Message Date
Jan
db5e53e60d chore: calculate tangents for xmodel vertices 2024-09-05 21:19:44 +02:00
Jan
26f4640194 chore: properly read uv data from gltf 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
36bc3cf7a3 chore: fix invalid sign when loading gltf 2024-09-05 21:19:42 +02:00
Jan
0bd581ef75 chore: correct tri ordering when loading gltf 2024-09-05 21:19:42 +02:00
Jan
14784fb1c4 chore: correct bone ordering when loading gltf 2024-09-05 21:19:41 +02:00
Jan
30d9ffd8c9 chore: add byteoffset to gltf loading accessors 2024-09-05 21:19:41 +02:00
Jan
f4092972e8 chore: implement vertex weights 2024-09-05 21:19:41 +02:00
Jan
f35a2f33ff fix: linux build 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
af01bac183 fix: linux gcc 14 build 2024-08-13 00:01:00 +02:00
Jan
b3d59a3f28 chore: do not log failing to open sound curve file in iw4 2024-08-12 08:53:19 +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
774da9a584 chore: log exception when parsing weapon attachment json fails 2024-08-08 18:50:11 +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
0ae7426fbe fix: do not normalize asset names when loading assets since desired effect is already covered by normalized asset finding from asset pools 2024-06-01 15:01:19 +02:00
Jan
acf0d914b8 Merge pull request #207 from diamante0018/t6/leaderboard-load
feat(t6): load leaderboard definitions from raw
2024-06-01 14:43:44 +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
feefc4a6a1 Merge pull request #206 from diamante0018/iw5/leaderboard-load
feat(iw5): load leaderboard definitions from raw
2024-06-01 14:15:36 +02:00
Jan
9367aa889b chore: load t6 leaderboard asset loader 2024-06-01 14:14:56 +02:00
Jan
667fb49ab2 fix: iw5 leaderboard track type reading 2024-06-01 13:55:38 +02:00
Jan
28465d7c64 fix: add missing column id for iw5 leaderboards reading 2024-06-01 13:55:25 +02:00
Jan
e046089cbb chore: use std::optional value_or for iw5 leaderboard reading 2024-06-01 13:55:00 +02:00
Jan
02e39a0361 fix: not setting column ids for iw4 leaderboards 2024-06-01 13:25:04 +02:00
Jan
b76bdabc75 chore: use std::optional value_or 2024-06-01 13:12:42 +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
1d9310fb9c feat(iw5): load leaderboard definitions from raw 2024-05-26 11:53:07 +02:00
601494e515 fix compilation 2024-05-26 11:52:31 +02:00
960a606a4b maint: use std::format here as well 2024-05-26 11:40:26 +02:00
2d28f423ef feat(iw4): load leaderboard definitions from raw 2024-05-25 17:00:18 +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
15440e8d66 feat: add loader for creating empty assets for all remaining iw5 asset types 2024-05-24 19:18:19 +02:00
Jan
68022eee05 fix: IW4 xmodel surfs loader using wrong struct 2024-05-24 19:18:13 +02:00
Jan
e68a7303b6 feat: load accuracy graphs using generic 2d graph loader 2024-05-20 13:41:01 +02:00
Jan
6f6a70c212 chore: restructure sound curve loader to load generic 2D graphs instead 2024-05-20 13:21:58 +02:00
Jan
5d913acfef feat: improve error messages when parsing an info string file fails 2024-05-12 22:29:40 +02:00