Commit Graph

1543 Commits

Author SHA1 Message Date
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
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
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
71819e46a4 chore: set vertex color to 1.0 when no value read from gltf 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
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
f653530714 chore: improve api for vector packing for models 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
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
42a3e207e5 fix: referencing files in cwd without dot slash 2024-08-21 10:45:05 +02:00
Jan
9c894fcff7 chore: rename zonecode headers to avoid duplicate paths 2024-08-14 08:21:02 +02:00
Jan
af01bac183 fix: linux gcc 14 build 2024-08-13 00:01:00 +02:00
Jan
fc5853eaa4 fix: make all game names be supported in lowercase instead of only t6 2024-08-12 10:20:04 +02:00
Jan
e4beee3d7e chore: use std format in linker 2024-08-12 09:47:15 +02:00
Jan
0e1f0eef7f fix: make specified game name case insensitive 2024-08-12 09:29:52 +02:00
Jan
1117339542 fix: log when a specified game is unsupported 2024-08-12 09:25:37 +02:00
Jan
dd2c97f7a0 chore: adjust log levels in linker 2024-08-12 09:18:22 +02:00