Commit Graph

1561 Commits

Author SHA1 Message Date
Jan
5d913acfef feat: improve error messages when parsing an info string file fails 2024-05-12 22:29:40 +02:00
Jan
30394e6a4c Merge pull request #192 from Laupetin/fix/gltf-bone-rotations
fix: gltf bone rotations
v0.13.0
2024-05-12 21:35:26 +02:00
Jan
0a960c330c fix: iw3 vertex weights for more than one bone 2024-05-12 21:17:03 +02:00
Jan
fa08017250 fix: iw4 vertex weights for more than one bone 2024-05-12 21:12:34 +02:00
Jan
a33bc5414c fix: iw5 vertex weights for more than one bone 2024-05-12 21:01:57 +02:00
Jan
ae95accaa3 fix: t5 vertex weights for more than one bone 2024-05-12 20:47:38 +02:00
Jan
c89a6631b0 chore: replace custom vector, quaternion, matrix implementation with eigen library 2024-05-12 19:32:06 +02:00
Jan
9979275f8c fix: gltf mesh wrong bone and invertBindMatrix transformations 2024-05-12 16:42:44 +02:00
Jan
17dee65337 fix: t6 vertex weights for more than one bone 2024-05-12 16:37:26 +02:00
Jan
e0dd0ac9dc chore: add eigen library for vector math 2024-05-12 16:35:46 +02:00
Jan
b29089a61f Merge pull request #188 from Laupetin/feature/case-insensitive-assets
feat: make asset lookup work case insensitively entirely
2024-05-11 13:22:14 +02:00
Jan
a9488b8152 chore: normalize asset names before adding to asset pools 2024-05-11 12:57:17 +02:00
Jan
b59bd01280 Merge pull request #187 from Laupetin/dependabot/submodules/thirdparty/catch2-4e8d92b
chore(deps): bump thirdparty/catch2 from `fa5a53d` to `4e8d92b`
2024-05-11 09:37:37 +02:00
Jan
35474c217e Merge pull request #182 from Laupetin/feature/gltf-xmodel-dumping
feat: dump xmodels as gltf/glb
2024-05-11 02:08:55 +02:00
Jan
499b752272 chore: add names to exported gltf models 2024-05-11 01:51:28 +02:00
Jan
5c06b6e5e4 chore: dump gltf skin inverseBindMatrices 2024-05-11 01:23:52 +02:00
Jan
6a1962b65a chore: export separate root node for gltf 2024-05-11 01:23:52 +02:00
Jan
1c105db5bc fix: quaternion multiplication and division
i hope its correct at least, quaternions are not my strength
2024-05-11 01:23:51 +02:00
3b0476dee8 chore(deps): bump thirdparty/catch2 from fa5a53d to 4e8d92b
Bumps [thirdparty/catch2](https://github.com/catchorg/Catch2) from `fa5a53d` to `4e8d92b`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](fa5a53df17...4e8d92bf02)

---
updated-dependencies:
- dependency-name: thirdparty/catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-10 23:00:25 +00:00
Jan
c74be5e8ae chore: dump gltf vertex weights 2024-05-11 00:44:03 +02:00
Jan
9ab78d5384 fix: correct asset references in xmodel material dumping 2024-05-09 22:12:39 +02:00
Jan
a0138c8abc chore: set gltf material default metallicness to 0 2024-05-09 22:12:39 +02:00
Jan
1a35152098 chore: dump more information about gltf materials 2024-05-09 22:12:38 +02:00
Jan
ebccd67676 chore: fill dumped gltf min max fields for position accessor 2024-05-09 22:12:38 +02:00
Jan
c587dae05f fix: build on linux 2024-05-09 22:12:38 +02:00
Jan
07fa12b7f6 chore: implement mesh gltf export 2024-05-09 22:12:38 +02:00
Jan
a39e993cc6 chore: use XModelCommon for dumping obj to reduce code duplication 2024-05-09 22:12:37 +02:00
Jan
45684ac828 fix: accidentally dumping NORMAL twice for xmodel export 2024-05-09 22:12:37 +02:00
Jan
2497a9f228 fix: use after free when dumping xmodel vertex weights 2024-05-09 22:12:37 +02:00
Jan
826e59d627 chore: update xmodel common to be a struct with substructs 2024-05-09 22:12:37 +02:00
Jan
0a65c93aa5 chore: move materialIndex to XModelObject 2024-05-09 22:12:36 +02:00
Jan
1bc1c12244 chore: fix linux build 2024-05-09 22:12:36 +02:00
Jan
0d96213f21 chore: export gltf basic attributes 2024-05-09 22:12:36 +02:00
Jan
8a0c93d3d8 feat: add gltf and glb as model dumping formats 2024-05-09 22:12:36 +02:00
Jan
f2438bea12 chore: write gltf header with new writers and outputs 2024-05-09 22:12:35 +02:00
Jan
c27f4ed544 chore: add output implementations for gltf and glb 2024-05-09 22:12:35 +02:00
Jan
7a0930a208 chore: add json types for gltf 2024-05-09 22:12:35 +02:00
Jan
d4ef9fa3d9 chore: move xmodel packages 2024-05-09 22:12:35 +02:00
Jan
abc3003b5b chore: implement base loading and writing of xmodel json 2024-05-09 22:12:34 +02:00
Jan
237dc83cfc chore: update xmodel structs 2024-05-09 22:12:30 +02:00
Jan
c2be18e3d6 Merge pull request #186 from Laupetin/feature/weapon-loading-error-logging
feat: log invalid enum values for infostring loaders
2024-05-09 20:55:54 +02:00
Jan
28610ae7a9 feat: log invalid enum values for infostring loaders 2024-05-09 20:38:23 +02:00
Jan
176b70f416 Merge pull request #183 from Laupetin/dependabot/submodules/thirdparty/catch2-fa5a53d
chore(deps): bump thirdparty/catch2 from `efb3968` to `fa5a53d`
2024-05-04 09:19:23 +02:00
c93044665e chore(deps): bump thirdparty/catch2 from efb3968 to fa5a53d
Bumps [thirdparty/catch2](https://github.com/catchorg/Catch2) from `efb3968` to `fa5a53d`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](efb39689d9...fa5a53df17)

---
updated-dependencies:
- dependency-name: thirdparty/catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 22:48:39 +00:00
Jan
338c81fa6f Merge pull request #178 from Laupetin/dependabot/submodules/thirdparty/catch2-efb3968
chore(deps): bump thirdparty/catch2 from `f232072` to `efb3968`
2024-04-27 01:54:28 +02:00
3bcad8cf81 chore(deps): bump thirdparty/catch2 from f232072 to efb3968
Bumps [thirdparty/catch2](https://github.com/catchorg/Catch2) from `f232072` to `efb3968`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](f2320724a7...efb39689d9)

---
updated-dependencies:
- dependency-name: thirdparty/catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-26 22:48:13 +00:00
Jan
f241caa274 Merge pull request #176 from Laupetin/refactor/asset-struct-based-loading
refactor: use template based asset structs for loading manager api
2024-04-23 01:06:37 +02:00
Jan
ae43a994b9 chore: update usages of AddAsset for template asset struct api 2024-04-23 00:49:05 +02:00
Jan
931fe695e1 refactor: use template asset structs for AddAsset api 2024-04-23 00:06:28 +02:00
Jan
d0c7311dce fix: iw4 and iw5 structured data def asset using wrong struct 2024-04-23 00:05:56 +02:00