2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 08:42:35 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
Jan Laupetin 582d8abbbf feat: reorder bones when their order is not corresponding to xmodel constraints 2026-05-03 21:01:38 +02:00
Jan Laupetin 92e236b1fe chore: only allocate 3 floats per bone for applicable games 2026-05-03 17:19:48 +02:00
Jan Laupetin 875e1fb360 fix: properly load all root bones from gltf 2026-05-03 16:35:15 +02:00
Jan Laupetin ff7b940e86 fix: properly dump gltf with root node in models with more than one root bone 2026-05-03 16:35:06 +02:00
Jan Laupetin 0c1bc747dc chore: update default root bone name to empty string and do not specify if matching default name 2026-05-03 13:51:56 +02:00
Jan Laupetin ed1ed73c73 chore: warn about mismatching root bone name between model and xmodel json 2026-05-03 13:40:31 +02:00
Jan Laupetin 989d29b359 feat: support root bone name from xmodel json 2026-05-03 13:27:35 +02:00
Michael Oliver 3aa28a0ded fix: IW3 ensure XModel::surfs is set in loader 2026-04-27 18:24:02 +01:00
Jan Laupetin 38038f8fad fix: clang compilation issues 2026-01-27 23:49:37 +01:00
Jan Laupetin d39efa3b6f fix: update warning for vertex limit to consider rigid and animated limits 2025-12-17 17:25:07 +00:00
Jan Laupetin 1e8ae0ff59 fix: not writing rigid models ever 2025-12-17 17:03:04 +00:00
Jan Laupetin 02f20f09b6 chore: update all logging to use centralized logging component 2025-09-11 20:25:51 +02:00
Jan Laupetin 49daacfb8b fix: reset xmodel version configuration on every model instead of only on version 1 2025-09-09 17:38:49 +01:00
Jan Laupetin 27ba80c647 chore: log about deprecated xmodel version 1 backwards compatibility 2025-09-07 22:19:37 +01:00
Jan Laupetin fed6e2f845 chore: backwards compatibility for old xmodel exports 2025-09-07 22:10:53 +01:00
Jan Laupetin 1b6c58d843 chore: update minor code smells in GltfLoader 2025-09-07 19:31:03 +01:00
Jan Laupetin 3a5cfc01d9 fix: make ObjLoader load updated gltf bone data 2025-09-06 09:02:50 +01:00
Jan Laupetin 46fb919a52 refactor: do not nest asset namespaces in game namespaces
* Duplicated namespace names are kind of annoying
2025-08-06 00:50:35 +02:00
Jan Laupetin 250556ab61 refactor: streamline namespaces of xmodel dumping and loading 2025-08-03 17:47:21 +02:00
Jan Laupetin eecbef158d chore: replace dirty hack for viewhands with xmodel typee reading 2025-07-20 15:06:10 +02:00
Jan Laupetin 4cdf568f5b chore: set proper flags and data for animated models 2025-07-19 12:02:12 +02:00
Jan Laupetin 2dc4dac785 fix: not correctly applying translation of children of rotated nodes from gltf 2025-07-19 12:02:11 +02:00
Jan Laupetin d240655160 feat: load non-rigid xmodels from gltf 2025-07-19 12:02:08 +02:00
Jan 311d5935b3 feat: use templated xmodel loading and dumping code for iw3 2025-07-10 16:59:23 +01:00
Jan 3daa8b0412 refactor: use templated xmodel loading and dumping code for iw4 2025-07-09 23:23:16 +01:00
Jan f07202d449 fix: show asset that failed when not being able to parse jsons 2025-07-09 16:53:53 +01:00
Jan 2176480a37 chore: update formatting due to updated clang-format version 2025-06-28 11:56:09 +01:00
Jan 5d0c94e430 refactor: fix x64 compilation for ObjLoading 2025-04-26 19:48:03 +02:00
Jan 5635470b6e refactor: cryptography component 2025-04-26 19:08:15 +02:00
Jan 6f31e8cc29 chore: fix compilation issues with x64 2025-04-06 18:02:47 +01:00
Jan cec70e783f fix: not using lookup to common vertices when writing rigid bone data
no more pizza cheese problem
2025-04-05 17:36:29 +02:00
Jan a2c8129a13 fix: messed up reordering of vertices for bone count 2025-04-05 16:30:58 +02:00
Jan e13eb256bb chore: update code style 2025-04-05 16:30:54 +02:00
Jan 826c1d2f2d fix: loading of gltf with multiple meshes 2025-01-23 22:25:38 +00:00
Jan 94ca0ab79e fix: loading of base64 data from gltf files 2025-01-23 21:17:51 +00:00
Jan 36f0764cd5 fix: not registering script strings for xmodel loading 2025-01-11 11:56:39 +01:00
Jan a36581b06e chore: fix loading and writing code for IW5 2025-01-01 18:14:41 +01:00
Jan 5cc52c42cd refactor: image and obj data loading 2024-09-26 07:22:35 +02:00
Jan 7649e5d58f chore: generalize base64 usage 2024-09-22 15:10:54 +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 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 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
Jan 36ddb998a4 fix: linux build 2024-09-05 21:56:17 +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