1840 Commits

Author SHA1 Message Date
Jan
d1abb46fc1
Merge pull request #255 from Laupetin/feature/omit-default-armature
feat: omit default armature when dumping xmodels
v0.16.2
2024-09-08 15:06:37 +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
abae48ead2
Merge pull request #254 from Laupetin/fix/models-without-bones
fix: auto generate armature when imported gltf has none
2024-09-08 14:15:44 +02:00
Jan
63556848c1
fix: auto generate armature when imported gltf has none 2024-09-08 13:55:50 +02:00
Jan
bc81245322
Merge pull request #253 from Laupetin/fix/gltf-model-import-2
fix: broken normals when packing unitvec3 for t6
v0.16.1
2024-09-07 09:10:19 +02:00
Jan
7b020d3c9a
Merge pull request #252 from Laupetin/dependabot/submodules/thirdparty/zlib-d476828
chore(deps): bump thirdparty/zlib from `545f194` to `d476828`
2024-09-07 08:52:28 +02:00
Jan
96b4fdbd3f
Merge pull request #251 from Laupetin/dependabot/submodules/thirdparty/eigen-072ec9d
chore(deps): bump thirdparty/eigen from `66927f7` to `072ec9d`
2024-09-07 08:52:18 +02:00
Jan
c2028a2d68
Merge pull request #250 from Laupetin/dependabot/submodules/thirdparty/json-b36f4c4
chore(deps): bump thirdparty/json from `960b763` to `b36f4c4`
2024-09-07 08:52:06 +02:00
Jan
c36b1f2f4d
Merge pull request #249 from Laupetin/dependabot/submodules/thirdparty/libtomcrypt-6865b9f
chore(deps): bump thirdparty/libtomcrypt from `12bf723` to `6865b9f`
2024-09-07 08:51:53 +02:00
Jan
fb3964c677
Merge pull request #248 from Laupetin/dependabot/submodules/thirdparty/catch2-bc63412
chore(deps): bump thirdparty/catch2 from `fa306fc` to `bc63412`
2024-09-07 08:51:39 +02:00
Jan
2c47212b52
fix: broken normals when packing unitvec3 for t6 2024-09-07 08:48:49 +02:00
dependabot[bot]
d97621d014
chore(deps): bump thirdparty/zlib from 545f194 to d476828
Bumps [thirdparty/zlib](https://github.com/madler/zlib) from `545f194` to `d476828`.
- [Release notes](https://github.com/madler/zlib/releases)
- [Commits](545f194963...d476828316)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 22:48:12 +00:00
dependabot[bot]
8c8b4b2c2b
chore(deps): bump thirdparty/eigen from 66927f7 to 072ec9d
Bumps [thirdparty/eigen](https://gitlab.com/libeigen/eigen) from `66927f7` to `072ec9d`.
- [Release notes](https://gitlab.com/libeigen/eigen/tags)
- [Commits](66927f7807...072ec9d954)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 22:48:11 +00:00
dependabot[bot]
ca21e2bbb7
chore(deps): bump thirdparty/json from 960b763 to b36f4c4
Bumps [thirdparty/json](https://github.com/nlohmann/json) from `960b763` to `b36f4c4`.
- [Release notes](https://github.com/nlohmann/json/releases)
- [Commits](960b763ecd...b36f4c477c)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 22:48:10 +00:00
dependabot[bot]
f9aba52f92
chore(deps): bump thirdparty/libtomcrypt from 12bf723 to 6865b9f
Bumps [thirdparty/libtomcrypt](https://github.com/libtom/libtomcrypt) from `12bf723` to `6865b9f`.
- [Release notes](https://github.com/libtom/libtomcrypt/releases)
- [Commits](12bf723b74...6865b9fc81)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 22:48:08 +00:00
dependabot[bot]
dab68bf201
chore(deps): bump thirdparty/catch2 from fa306fc to bc63412
Bumps [thirdparty/catch2](https://github.com/catchorg/Catch2) from `fa306fc` to `bc63412`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](fa306fc85e...bc63412e2a)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 22:48:07 +00:00
Jan
f4aed31ca2
Merge pull request #247 from Laupetin/fix/gltf-model-import-1
feat: support gltf bone rotation as matrix notation
2024-09-06 21:59:33 +02:00
Jan
7eb1714e89
feat: support gltf bone rotation as matrix notation 2024-09-06 21:37:48 +02:00
Jan
149a24b544
Merge pull request #246 from Laupetin/fix/gltf-loading-buffer-view
fix: gltf buffer view incorrectly calculating stride
2024-09-06 17:10:10 +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
8bab112afe
Merge pull request #244 from Laupetin/feature/t6-xmodel-raw
feat: gltf xmodel loading from raw for t6
v0.16.0
2024-09-05 22:19:47 +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
66c2adacaa
Merge pull request #241 from Laupetin/dependabot/submodules/thirdparty/libtomcrypt-12bf723
chore(deps): bump thirdparty/libtomcrypt from `427ce33` to `12bf723`
2024-08-31 12:14:23 +02:00