1929 Commits

Author SHA1 Message Date
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
Jan
97da1912d5
Merge pull request #240 from Laupetin/dependabot/submodules/thirdparty/eigen-66927f7
chore(deps): bump thirdparty/eigen from `3b5a1b4` to `66927f7`
2024-08-31 12:14:05 +02:00
dependabot[bot]
33b64168cb
chore(deps): bump thirdparty/libtomcrypt from 427ce33 to 12bf723
Bumps [thirdparty/libtomcrypt](https://github.com/libtom/libtomcrypt) from `427ce33` to `12bf723`.
- [Release notes](https://github.com/libtom/libtomcrypt/releases)
- [Commits](427ce3315e...12bf723b74)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 22:27:28 +00:00
dependabot[bot]
56cec10ddc
chore(deps): bump thirdparty/eigen from 3b5a1b4 to 66927f7
Bumps [thirdparty/eigen](https://gitlab.com/libeigen/eigen) from `3b5a1b4` to `66927f7`.
- [Release notes](https://gitlab.com/libeigen/eigen/tags)
- [Commits](3b5a1b4157...66927f7807)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 22:27:27 +00:00
Jan
98b88ddab9
Merge pull request #237 from Laupetin/dependabot/submodules/thirdparty/libtomcrypt-427ce33
chore(deps): bump thirdparty/libtomcrypt from `2302a3a` to `427ce33`
2024-08-24 08:49:23 +02:00
Jan
5aa5ecc23b
Merge pull request #238 from Laupetin/dependabot/submodules/thirdparty/eigen-3b5a1b4
chore(deps): bump thirdparty/eigen from `92e373e` to `3b5a1b4`
2024-08-24 00:40:25 +02:00
dependabot[bot]
de8b564432
chore(deps): bump thirdparty/eigen from 92e373e to 3b5a1b4
Bumps [thirdparty/eigen](https://gitlab.com/libeigen/eigen) from `92e373e` to `3b5a1b4`.
- [Release notes](https://gitlab.com/libeigen/eigen/tags)
- [Commits](92e373e6f5...3b5a1b4157)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-23 22:05:58 +00:00
dependabot[bot]
33f490a68f
chore(deps): bump thirdparty/libtomcrypt from 2302a3a to 427ce33
Bumps [thirdparty/libtomcrypt](https://github.com/libtom/libtomcrypt) from `2302a3a` to `427ce33`.
- [Release notes](https://github.com/libtom/libtomcrypt/releases)
- [Commits](2302a3a897...427ce3315e)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-23 22:05:55 +00:00
Jan
805e1a267e
Merge pull request #236 from Laupetin/fix/current-dir-prefix
fix: referencing files in cwd without dot slash
2024-08-21 11:04:41 +02:00
Jan
42a3e207e5
fix: referencing files in cwd without dot slash 2024-08-21 10:45:05 +02:00
Jan
31d93d39a4
Merge pull request #234 from Laupetin/dependabot/submodules/thirdparty/eigen-92e373e
chore(deps): bump thirdparty/eigen from `99ffad1` to `92e373e`
2024-08-17 07:44:59 +02:00
Jan
016ac935bb
Merge pull request #233 from Laupetin/dependabot/submodules/thirdparty/catch2-fa306fc
chore(deps): bump thirdparty/catch2 from `8898cc6` to `fa306fc`
2024-08-17 07:44:45 +02:00