Kevin Ring
68f9206141
Incorporate SharedAssetDepot changes from asset-endpoint-as-shared-asset
2025-09-23 10:45:10 +10:00
Tim Moore
e4e83f882f
Make lambda mutable
2025-03-24 15:27:40 +01:00
Tim Moore
771c3f71ba
Fix memory leak in GltfReader::postprocessGltf
...
A unique_ptr to GltfReaderResult was released, but nothing ever
deleted the pointed-to object.
2025-03-24 12:48:20 +01:00
Janine Liu
849ca20118
Formatting
2025-03-20 10:07:16 -04:00
Alexandre Walensa
f882d80e36
GltfReader.cpp: call Uri::resolve() with useBaseQuery = true.
...
This is needed to fetch the textures used by tilesets coming from the Bentley mesh export service,
because the base URL contains authorization info in its parameters, which must be kept when requesting the textures.
2025-03-17 14:48:37 +01:00
Tim Moore
4ef03f90b7
Fix conversion functions for KHR_mesh_quantization decompression
...
This looks like a cut-and-paste error, but the result was that
geometry that used unsigned byte positions would be approximately
doubled in size, and geometry that used signed 16 bit integers would
be half size.
2025-02-11 15:42:34 +01:00
Kevin Ring
5077aebcb1
Remove unused header.
2025-01-13 21:58:16 +11:00
Kevin Ring
daaec96323
Replace assert with full check.
2025-01-13 21:37:42 +11:00
Ashley Rogers
768b6510b3
Quotes to brackets
2024-12-20 12:00:09 -05:00
Ashley Rogers
2c8aa4a422
Fix includes using script
2024-12-20 11:56:49 -05:00
Ashley Rogers
9a2fe68dd8
NULL -> nullptr
2024-12-19 17:01:46 -05:00
Ashley Rogers
8c08de5eac
Fix MSVC issue
2024-12-19 16:46:34 -05:00
Ashley Rogers
2c992b7ba7
Performance checks
2024-12-19 15:27:53 -05:00
Ashley Rogers
f7d287dd80
Modernize checks
2024-12-19 15:20:19 -05:00
Ashley Rogers
94cc7992aa
Misc checks
2024-12-19 14:33:52 -05:00
Ashley Rogers
9fc2400faf
Add cppcoreguidelines checks
2024-12-19 13:49:21 -05:00
Ashley Rogers
bd4f19da7f
Fix unchecked optional accesses
2024-12-18 14:21:10 -05:00
Ashley Rogers
09a22f3260
Fix errors
2024-12-18 11:03:25 -05:00
Ashley Rogers
86a4ea9a6f
Why is clang-tidy throwing bits/basic_string in here?
2024-12-18 10:41:16 -05:00
Ashley Rogers
7ef48d56c7
Fix additional clang-tidy issues
2024-12-17 17:41:42 -05:00
Ashley Rogers
1e2e47ab5e
misc-include-cleaner for every file
2024-12-17 17:27:03 -05:00
Kevin Ring
77743cba4e
Refresh ion token on 401 for any type of asset.
...
By using an IAssetAccessor decorator.
2024-11-28 22:50:18 +11:00
Kevin Ring
6ef197053f
Several fixes for shared asset problems.
2024-11-28 18:31:42 +11:00
Kevin Ring
fb24a2efe1
Merge remote-tracking branch 'origin/cpp20' into remove-gsl
2024-11-19 09:15:21 +11:00
Kevin Ring
8a23ca54d9
Merge remote-tracking branch 'origin/main' into cpp20
2024-11-19 09:14:49 +11:00
Kevin Ring
89dfc44bdc
Remove use of GSL.
...
Change gsl::span to std::span, and replace the few uses of gsl::narrow
with an alternative.
2024-11-06 15:16:03 +11:00
Kevin Ring
4c2aebedc2
Eliminate dodgy namespacing of STBIR.
2024-11-05 18:17:34 +11:00
Kevin Ring
feaf3d14f6
Switch to prerelease vcpkg commit.
...
This is necessary to pick up a new version of Async++, which is required
for use with C++20.
2024-11-05 16:00:08 +11:00
Ashley Rogers
cfbee560b5
Bring in line with SharedAsset changes
2024-11-01 11:50:09 -04:00
Ashley Rogers
d976ec13c6
Merge from main, still needs to be fixed
2024-11-01 10:49:26 -04:00
Kevin Ring
750d5f91d1
Fix clang warning.
2024-10-30 14:20:21 +11:00
Kevin Ring
e8fbd40e4b
Doc and cleanup.
2024-10-30 13:32:30 +11:00
Kevin Ring
9dfe894056
ImageDecoder cleanup.
2024-10-30 13:15:03 +11:00
Kevin Ring
8b60ebdd63
Minor tweaks.
2024-10-30 11:06:14 +11:00
Kevin Ring
33d4948634
Image::pCesium -> pAsset
2024-10-30 09:40:04 +11:00
Kevin Ring
ce212af378
Use brace initialization for base class.
2024-10-29 16:01:34 +11:00
Kevin Ring
0961978f0b
Fix a clang warning.
2024-10-29 15:42:06 +11:00
Kevin Ring
e9fac59ef2
Fix incorrect comparison.
2024-10-29 15:07:15 +11:00
Kevin Ring
d43edcea85
Add ResultPointer.
2024-10-29 11:38:15 +11:00
Kevin Ring
c5533b7ead
Cleanup.
2024-10-28 20:55:29 +11:00
Kevin Ring
727a68d064
Introduce AssetEntry.
2024-10-28 17:13:18 +11:00
Kevin Ring
083cb92db2
WIP refactoring.
2024-10-25 00:45:53 -04:00
Ashley Rogers
76185746d7
Add test for external structural metadata
2024-10-22 14:43:38 -04:00
Ashley Rogers
714aa28c28
SharedAsset support in gltf generated code
2024-10-22 11:42:09 -04:00
Ashley Rogers
38b4811270
Pass factory to asset depot constructor
2024-10-11 12:00:55 -04:00
Ashley Rogers
df1f887e6d
Doc comments, rename ImageCesium
2024-10-10 15:28:05 -04:00
Kevin Ring
526e660687
default -> getDefault
2024-10-10 22:19:52 +11:00
Kevin Ring
7f798379f4
GltfSharedAssetSystem
2024-10-10 21:56:09 +11:00
Kevin Ring
a9516a0c84
Move SharedAsset[Depot] to CesiumAsync.
2024-10-10 21:00:16 +11:00
Kevin Ring
cee6f21ea6
Make SharedAsset a base class an eliminate AssetContainer.
2024-10-04 16:10:28 +10:00