329 Commits

Author SHA1 Message Date
Jbleezy
1774001598 Use int16_t max for pitch dumping and loading 2024-10-06 12:13:22 -07:00
Jan
d814fe7b95
refactor: refactor sound csv loading code 2024-10-06 19:11:25 +02:00
Jan
bc51ecb49d
chore: little improvement on sound bank types 2024-10-06 19:11:21 +02:00
Jan
c1d3138b04
fix: formula for dbspl and cent values 2024-10-06 18:45:06 +02:00
Jbleezy
70bfd06fdc Fix linux build 2024-10-01 15:02:59 -07:00
Jbleezy
0ea55810ab Dump and load correct volume and pitch values for T6 sound aliases 2024-10-01 14:29:28 -07:00
Jan
2dccd423af
refactor: extract image code into single component 2024-09-27 21:16:29 +02:00
Jan
a2d70c17ba
feat: convert from dds to iwi 2024-09-27 20:31:33 +02:00
Jan
5cc52c42cd
refactor: image and obj data loading 2024-09-26 07:22:35 +02:00
Jan
d4d8e83169
feat: load iw5 images from raw 2024-09-22 16:59:56 +02:00
Jan
7b28b574d2
feat: load iw5 materials from json 2024-09-22 16:59:31 +02:00
Jan
e814515b53
fix: failure to load xmodel does not abort loading process 2024-09-20 19:39:26 +02:00
Jan
d05c1730fa
feat: dump and load xmodels for IW5 via template 2024-09-20 16:44:07 +01:00
Jan
7227c84cde
chore: use RawTemplater to template XModel loading code for t5 and t6 2024-09-20 16:44:06 +01:00
Jan
a2735b4f23
chore: use generic xmodel loader and dumper code for t5 2024-09-20 16:44:06 +01:00
Jan
28ecee3a1d
chore: move t6 xmodel json to proper folder 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
543a4f06e4
refactor: extract TangentData from JsonXModelLoader 2024-09-20 16:44:05 +01:00
Jan
b282e611fc
refactor: extract PartClassificationState from JsonXModelLoader 2024-09-20 16:44:02 +01:00
Jan
ae73f81a80
chore: address code review comments 2024-09-18 23:01:13 +02:00
Jbleezy
8d41e28a52 Fix more whitespace 2024-09-15 21:35:53 -07:00
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
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
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