Ashley Rogers
e47d8177d2
Revert string_literals using statement
2024-11-22 14:03:05 -05:00
Ashley Rogers
cca8871eef
Include both catch2 headers
2024-11-22 11:30:45 -05:00
Ashley Rogers
f82d65bead
Change Catch2 header
2024-11-22 11:17:21 -05:00
Ashley Rogers
4557f5806b
<gsl/span> -> <span>
2024-11-21 15:57:06 -05:00
Ashley Rogers
acc9e81d12
Merge from main
2024-11-20 17:12:43 -05:00
Kevin Ring
e1e0cf9574
Merge remote-tracking branch 'origin/cpp20' into remove-gsl
2024-11-20 12:46:36 +11:00
Ashley Rogers
86a4bf7e53
Fix warnings ignored on headers with SYSTEM
2024-11-19 15:47:40 -05:00
Ashley Rogers
2dbd86e5c3
Merge branch 'cpp20' of github.com:CesiumGS/cesium-native into clang-tidy-4
2024-11-19 14:39:38 -05:00
Ashley Rogers
17c1887164
Regenerate classes
2024-11-19 14:39:18 -05:00
Janine Liu
25879d5378
Merge branch 'main' into cpp20
2024-11-19 09:18:40 -05:00
Kevin Ring
dfaf78e0d4
Schema is a struct not a class.
2024-11-19 17:23:25 +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
Ashley Rogers
67044b3e2e
Merge from main
2024-11-15 15:46:44 -05:00
Kevin Ring
651d3b4d43
Merge remote-tracking branch 'origin/main' into remove-gsl
2024-11-15 13:58:24 +11:00
Sean Lilley
f51948fbe4
Remove old CESIUM_NATIVE_ CMake variables
2024-11-13 11:22:17 -05: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
97331792d3
Compile with C++20 and fix the problems.
2024-11-05 16:54:11 +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
3435ad6a3c
Pass a TilesetSharedAssetSystem into TilesetExternals.
2024-10-30 14:11:22 +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
49f1d6319c
Introduce TilesetSharedAssetSystem.
2024-10-29 09:24:43 +11:00
Kevin Ring
d16e3ef94a
Add doc.
2024-10-28 21:37:38 +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
5c4cafdfc4
Shared asset support in schema codegen
2024-10-18 15:38:15 -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
275bac0325
Better naming.
2024-10-04 21:16:11 +10:00
Kevin Ring
cee6f21ea6
Make SharedAsset a base class an eliminate AssetContainer.
2024-10-04 16:10:28 +10:00
Ashley Rogers
d612b329e0
Use template for factory so it can be moved into the future
2024-09-17 14:00:18 -04:00
Ashley Rogers
96cd924630
Update based on review
2024-09-11 14:53:52 -04:00
Ashley Rogers
7e36d6c45f
Refactor to use IntrusivePointer for AssetContainer
2024-08-23 14:31:08 -04:00
Ashley Rogers
0018493071
Fix GltfReader I broke in merge
2024-08-16 15:07:30 -04:00
Ashley Rogers
e79b31379c
Merge with main
2024-08-16 14:13:55 -04:00
Kevin Ring
ac74cc3cda
Merge pull request #820 from jherico/vcpkg-2
...
Second attempt at migrating packages to vcpkg
2024-08-15 09:47:09 +10:00
Janine Liu
6719722dd0
Merge branch 'main' into resolve-external-images-flag
2024-08-12 10:33:34 -04:00
Sean Lilley
95b0de6516
Added resolveExternalImages flag to GltfReaderOptions
2024-08-02 20:49:42 -06:00
Sean Lilley
a109c7dacb
Add removeExtensionUsed and removeExtensionRequired
2024-08-02 20:15:42 -06:00
Kevin Ring
1fcdeadfd9
Merge remote-tracking branch 'origin/main' into vcpkg-swl
2024-08-02 19:45:58 +10:00
Brian L
d03181a97a
Revert changes to ForEachPrimitiveInSceneXXX callbacks
2024-07-24 13:17:22 -06:00
Ashley Rogers
dd8e3d0775
Merge branch 'main' of github.com:CesiumGS/cesium-native into shared-assets
2024-07-23 14:03:20 -04:00
Ashley Rogers
a0954e3fbc
Add test for shared images
2024-07-23 14:03:06 -04:00
Kevin Ring
8b9b001b8b
Merge branch 'main' into gltf-ray-intersect
2024-07-23 13:38:37 -04:00
Janine Liu
707dd8b770
Add missing includes
2024-07-11 10:25:23 -04:00
Ashley Rogers
40806a24c7
Add ability for images to be shared between glTFs
2024-07-10 16:00:31 -04:00
Brian L
16d18a1ceb
Remove duplicate implementations of ::readFile
2024-07-08 16:12:56 -06:00
Brian L
ca25ad4840
Change int to int32_t when specifying an ID
2024-07-08 15:15:44 -06:00
Brian L
728668a873
Merge branch 'main' into gltf-ray-intersect
2024-07-08 09:15:30 -06:00
Kevin Ring
7c9ea84178
Merge remote-tracking branch 'origin/main' into vcpkg-swl
2024-07-02 17:39:20 +10:00
Brian L
74653140f3
Rename to CESIUM_ASSERT
2024-06-20 10:14:38 -06:00
Brian L
91300f9a61
update from main
2024-06-20 09:54:52 -06:00
Kevin Ring
ca42500d54
Merge remote-tracking branch 'origin/main' into vcpkg-2
2024-06-05 14:06:47 +10:00
Brian L
aa95514762
update from main
2024-05-31 12:39:37 -06:00
Kevin Ring
264333f06a
Merge pull request #889 from CesiumGS/regenerate-gltf-schemas
...
Regenerate glTF schemas for metadata extensions
2024-05-24 16:47:42 +10:00
Kevin Ring
95bf6826a0
Merge pull request #880 from CesiumGS/no_stb_image_implementation
...
Fix STB library conflicts
2024-05-24 15:47:11 +10:00
Sean Lilley
5bb68a00a7
Regenerate glTF schemas
2024-05-23 18:22:52 -04:00
Kevin Ring
8c6635cba6
Test that meshopt decode removes the corresponding extensionUsed.
2024-05-21 22:14:22 +10:00
Kevin Ring
ee822566b1
Test update of buffer byteLength to match URI length (with warning).
2024-05-21 21:57:09 +10:00
Brian L
ccce2f098e
Let intersectRayGltfModel HitResult return primitiveId correctly
2024-05-15 13:34:58 -06:00
Brian L
5bcfe34ded
Let intersectRayGltfModel HitResult return meshId correctly
2024-05-15 13:21:11 -06:00
assiduous
409f55d1f5
Gltf Reader: use STB_IMAGE_STATIC to avoid conflicts with other libs
2024-05-09 11:03:40 -07:00
Kevin Ring
c740be632d
Fix failing test.
2024-05-06 19:36:52 +10:00
Kevin Ring
66860989a4
Various glTF fixes, mostly meshopt related.
2024-05-06 13:53:37 +10:00
Brian L
7eaabb0ce3
Change class generator to use ASSERT
2024-05-03 14:40:24 -06:00
Brian L
47414f09fb
Make our ASSERT macro. Move everything to use this.
2024-05-03 12:50:50 -06:00
Brian L
5817d88224
Only put stb resize into own our namespace (others can stay put)
2024-04-30 18:21:24 -06:00
Brian L
ff60e4c2b5
Put STB in the Cesium namespace
2024-04-30 18:10:41 -06:00
Marco Hutter
66b645413f
Require warning to be generated in test
2024-04-25 17:01:52 +02:00
Marco Hutter
4c6c579013
Update README.md for spec data
...
Co-authored-by: Sean Lilley <lilleyse@gmail.com>
2024-04-25 16:58:32 +02:00
Marco Hutter
c92578f262
Add test for GLB BIN padding byte handling
2024-04-24 15:53:05 +02:00
Marco Hutter
f49d3e4d98
Allow padding bytes in GLB BIN chunk
2024-04-24 15:52:30 +02:00
Sean Lilley
46c8b9e736
Merge pull request #860 from CesiumGS/build-tweaks
...
Improvements to the build process
2024-04-15 10:24:38 -04:00
Kevin Ring
dd35563ff8
Tweaks for the tilers build.
...
* Use `ktx` library instead of `ktx_read`. The former includes writing
ability, and there's no library that includes _just_ writing.
* Move STB image resize implementation code into CesiumGltfReader
(instead of CesiumGltfContent).
2024-04-15 09:30:05 +10:00
Kevin Ring
c8f64b2c17
Add tests for postprocessGltf.
2024-04-10 21:55:28 +10:00
Kevin Ring
eeeb304926
Various glTF helper functions.
2024-04-10 15:14:11 +10:00
Kevin Ring
17fd4d3452
Merge remote-tracking branch 'origin/cesium-legacy-terrain' into gltf-correctness
2024-04-10 14:59:36 +10:00
Kevin Ring
79d05a5ff7
Regenerate glTF readers.
2024-04-10 13:44:08 +10:00
Kevin Ring
2ca96da9ac
Merge remote-tracking branch 'origin/main' into cesium-legacy-terrain
2024-04-10 13:31:53 +10:00
Kevin Ring
8c05f96f6e
Various fixed to correctness of glTF generation.
2024-04-08 15:40:56 +10:00
Kevin Ring
66ad2c9039
Add support for CESIUM_primitive_outline extension.
2024-04-08 14:46:14 +10:00
Kevin Ring
57a9ed3e2c
Move QuantizedMeshLoader to CesiumLegacyTerrain.
2024-04-04 22:15:11 +11:00
Kevin Ring
5ba8b7af35
Add CesiumLegacyTerrain library for quantized-mesh parsing.
2024-04-04 22:12:57 +11:00