1377 Commits

Author SHA1 Message Date
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
8bd70662e0
feat: convert from iwi to dds 2024-09-27 17:36:05 +01:00
Jan
5cc52c42cd
refactor: image and obj data loading 2024-09-26 07:22:35 +02:00
Jan
5fee875495
chore: use filename of argv0 in UsageInformation 2024-09-23 23:05:04 +02:00
Jan
32480a75eb
chore: give all args to arg parser instead of omitting arg0 2024-09-23 22:38:18 +02:00
Jan
2b1c048a4a
chore: improve argument parser code 2024-09-23 22:36:47 +02:00
Jan
da18291c89
chore: improve args code for other tools 2024-09-23 20:00:00 +02:00
Jan
c37e9984ba
chore: add base for image converter tool 2024-09-23 19:29:58 +02:00
Jbleezy
d558a4e075 Use concat instead of replace_extension for guess sound filename function 2024-09-23 00:31:36 -07: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
28a4fbd0d6
feat: dump iw5 materials as json 2024-09-22 15:11:40 +02:00
Jan
7649e5d58f
chore: generalize base64 usage 2024-09-22 15:10:54 +02:00
Jan
3b59dad109
chore: generalize material constant zone state 2024-09-22 15:10:01 +02:00
Jan
1fef66397f
chore: implement scale based unit vec3 packing 2024-09-20 21:26:47 +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
fc216a153f
chore: use RawTemplater to template XModel dumping code for t5 and t6 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
e0218dce2e Disable clang-format on SOUND_GROUPS array elements 2024-09-16 10:07:04 -07: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
Jbleezy
d21c6aef4d Find a file for the sound path including extension 2024-09-15 21:20:55 -07:00
Jbleezy
fed488d391 Dump sound extension 2024-09-15 21:20:17 -07:00
Jbleezy
3dcd89540b Fix order of some SoundConstantsT6 enums 2024-09-15 21:19:41 -07:00
Jbleezy
1caa54f16e Change SndAlias struct members type from char to uint8_t 2024-09-15 21:19:22 -07:00
0021c85536
fix: address review 2024-09-15 11:36:05 +02:00
a0551d72da
feat: track time spent linking zone 2024-09-12 15:52:42 +02:00
d44b91485d
feat(Linker): add verbose loggin when writing of zones begins 2024-09-11 17:13:42 +02:00
Jan
c91697caea
feat: check for xmodel limits when converting 2024-09-08 22:01:07 +01:00
Jan
74a54ec981
feat: add command line args to add asset and source search paths without overriding all 2024-09-08 21:07:49 +01:00
Jan
8ea9380526
chore: fix command line description for linker gdt and source args 2024-09-08 21:43:45 +02:00
Jan
147de6e240
feat: add zone_raw/?project? as default source directory 2024-09-08 21:42:49 +02:00
Jan
931e128eb9
chore: add asset loaders for all asset types of t6 2024-09-08 17:59:09 +01:00
Jan
c6ffdedb81
feat: load raw game folder relative to binary to be able to always locate it, even when in a different working directory 2024-09-08 16:15:45 +02:00
Jan
becfdbf814
chore: omit skel node when dumping gltf without armature 2024-09-08 14:40:20 +02:00
Jan
9b64ba1623
chore: omit default armature when dumping xmodels 2024-09-08 13:28:48 +01:00
Jan
63556848c1
fix: auto generate armature when imported gltf has none 2024-09-08 13:55:50 +02:00
Jan
2c47212b52
fix: broken normals when packing unitvec3 for t6 2024-09-07 08:48:49 +02:00
Jan
7eb1714e89
feat: support gltf bone rotation as matrix notation 2024-09-06 21:37:48 +02:00
Jan
30ca98d86e
fix: gltf buffer view incorrectly calculating stride 2024-09-06 15:49:06 +01:00
Electro Games
e0b28075a6
Added support for unsigned int accessors (#245)
* Added Unsigned Int to CreateAccessors()

* Added UnsignedIntAccessor class

* Added UnsignedIntAccessor class function implementations

* Oops

* Update src/ObjLoading/XModel/Gltf/Internal/GltfAccessor.cpp

Co-authored-by: Jan <Laupetin@users.noreply.github.com>

* Fixed ReadElement() using incorrect elementSize

---------

Co-authored-by: Jan <Laupetin@users.noreply.github.com>
2024-09-06 16:46:21 +02:00