Commit Graph

758 Commits

Author SHA1 Message Date
Kevin Ring c341a72806 Revert "Merge pull request #786 from jherico/feature-vcpkg"
This reverts commit 198ed9d4b4, reversing
changes made to 09c1eb76b4.
2024-02-23 09:08:15 +11:00
Bradley Austin Davis e20c154c55 Migrating dependencies to vcpkg 2024-02-02 10:40:59 -08:00
Kevin Ring 2bdd74a0a3 Use generated classes to read subtrees. 2023-11-10 23:26:42 +11:00
Kevin Ring ef7e8e3536 Start implementing SubtreeFileReader. 2023-11-09 22:12:59 +11:00
Kevin Ring 9a1abb295d Add missing dll export of FoundMetadataProperty. 2023-08-24 19:13:40 +10:00
Kevin Ring c68207a6a4 Add MetadataQuery class. 2023-08-23 11:30:06 +10:00
Kevin Ring 400f832d32 Update npm dependencies and regenerate 3DTiles/glTF classes. 2023-08-16 10:54:01 +10:00
Kevin Ring eef536b4f0 Regenerated 3D Tiles, too. 2022-12-23 14:46:25 +11:00
Sean Lilley 6d21411c25 Add 3D Tiles 1.1 support to serializer, drop redundant extensions 2022-06-30 19:08:32 -04:00
Sean Lilley 00eab5bed7 Update 3D Tiles and glTF extensions 2022-03-16 09:15:02 -04:00
Sean Lilley be3f18cf9b Support optional JsonValue properties 2022-02-27 17:58:43 -05:00
Sean Lilley b76468a278 Remove old files 2022-02-27 17:12:41 -05:00
Sean Lilley c2a56aa0d6 Rerun generator 2022-02-27 12:51:13 -05:00
IanLilleyT 21904215dd updated generator for 3d tiles 1.1 schemas 2022-02-18 18:06:14 -05:00
Sean Lilley 5e78d1d72a Added more gltf and 3d tiles extensions 2022-01-21 14:25:35 -05:00
Sean Lilley 4ab275de70 Update scripts 2021-12-03 11:32:53 -05:00
Sean Lilley 21c65ddac8 Change folder structure for src folders 2021-12-03 11:11:41 -05:00
Sean Lilley 2cdcb92e20 Namespace cleanup 2021-12-02 18:34:22 -05:00
Kevin Ring eb04d95449 Add generated 3DTILES_bounding_volume_S2 extension. 2021-11-05 16:44:01 +11:00
Sean Lilley ce6b7ce944 Add support for 3DTILES_content_gltf 2021-11-01 11:28:52 -04:00
Sean Lilley 8453d760e7 Rename generate-gltf-classes to generate-classes 2021-10-12 12:51:55 -04:00
Kevin Ring 0169625e68 Add empty source file to Cesium3DTiles library.
Otherwise there's no .lib on a clean build, which breaks the build of
the tests. We could fix that by declaring the library an INTERFACE
library, but that would require further changes to our cmake config. No
source files in Cesium3DTiles is probably only temporary, so we'll just
work around it for now.
2021-10-12 23:37:07 +11:00
Kevin Ring 0c4c7fc1df ExtensibleObject is in CesiumUtility namespace. 2021-10-12 18:26:26 +11:00
Kevin Ring a2d8f3efa7 Regenerate Cesium3DTiles types. 2021-10-12 18:06:47 +11:00
Sean Lilley 7dad7003bb One ExtensibleObject 2021-10-11 16:47:49 -04:00
Sean Lilley 4dbe87294f Add Cesium3DTiles project 2021-10-10 18:20:15 -04:00
Daniel Krupka 8b3bb34827 Rename Cesium3DTiles -> Cesium3DTilesSelection 2021-07-30 11:45:37 -04:00
Kevin Ring 1a11867309 Don't interpret extensions or extras as a property name. 2021-07-25 00:13:36 +10:00
Kevin Ring e2b01dd0e4 Add tracing for batch table upgrade. 2021-07-24 23:59:46 +10:00
Kevin Ring 449068c3d6
Merge pull request #281 from CesiumGS/feature-metadata-extension
Upgrade batch table to EXT_feature_metadata extension
2021-07-24 21:32:14 +10:00
Bao Tran 391cc3ec4e fix typo 2021-07-19 01:06:25 -04:00
Bao Tran 0221b1c91a upgrade test to convert int64 when uint32 is not enough 2021-07-19 01:02:34 -04:00
Bao Tran c7f931ade3 use rapidjson built in to check if int64 can convert to float lossless 2021-07-19 00:49:25 -04:00
Bao Tran f7217bced2 use the original algo for finding compatible types 2021-07-19 00:07:34 -04:00
Bao Tran eadaae1d8a add test to make sure we don't write pass feature table count 2021-07-18 15:15:51 -04:00
Bao Tran 4f7fc73b0d manually add string to rapidjson buffer to prevent quotations 2021-07-18 14:27:49 -04:00
Bao Tran 87b766ae28 fix compiler warning 2021-07-18 11:35:25 -04:00
Bao Tran 7576daed66 use featureTable count to limit the json array 2021-07-18 11:11:14 -04:00
Bao Tran b88880b28d use only one RapidJson StringBuffer to minimize heap alloc 2021-07-18 00:50:44 -04:00
Bao Tran 6118107624 add warning logging when converting binary metadata property 2021-07-17 23:44:34 -04:00
Bao Tran c25c13b27c static_assert rapidjson::Value::Char size 2021-07-15 19:33:03 -04:00
Bao Tran eca0952eb2 add assertion when converting binary metadata 2021-07-15 19:25:42 -04:00
Bao Tran 6ab6caad32 fix compiler warning 2021-07-15 17:33:24 -04:00
Bao Tran 1185d2e78f use int64 for meta array 2021-07-15 17:17:30 -04:00
Bao Tran dab9312560 use int64_t for property view 2021-07-13 13:47:01 -04:00
Bao Tran 327780ed42 fix thirdparty headers 2021-07-13 11:16:38 -04:00
Bao Tran abdef78b04 remove misleading comment in the batch table upgrader 2021-07-12 12:45:57 -04:00
Bao Tran 18eb2a02a0 remove byteStride in metadata 2021-07-12 12:41:26 -04:00
Bao Tran aec415b479 check positive featureTableJsonByteLength early 2021-07-12 12:27:29 -04:00
Bao Tran e6a378920b Merge branch 'main' into feature-metadata-extension 2021-07-08 18:50:41 -04:00
Kevin Ring 4e45bab460 Use angle brackets to #include catch2. 2021-07-04 22:57:11 +10:00
Bao Tran e1eb2d1f84 Merge branch 'main' into feature-metadata-extension 2021-07-02 10:50:43 -04:00
Kevin Ring 192920e218 Normalize all the line endings. 2021-07-01 16:34:08 +10:00
Kevin Ring 46c01f0d10 Merge remote-tracking branch 'origin/main' into load-tracing 2021-06-30 09:17:27 +10:00
Kevin Ring a74941bf53 Refactor schedulers. 2021-06-27 22:37:32 +10:00
knowmore d6bd025b21 fix: use int32_t rather than uint32_t
ref https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#es106-dont-try-to-avoid-negative-values-by-using-unsigned
2021-06-26 23:00:20 +08:00
Kevin Ring 6186545827 Fix test compilation problems. 2021-06-26 22:36:54 +10:00
Kevin Ring 839e3b3f06 Avoid VS2019 internal compiler error.
Apparently caused by a trailing comma in a lambda capture.
2021-06-26 22:26:51 +10:00
knowmore deab1268a2 fix: const T& for get method
ref https://stackoverflow.com/questions/63972019/understanding-const-at-top-level-which-may-reduce-code-readability-without-i
2021-06-26 15:35:20 +08:00
knowmore e832bd2102 fix: use uint32_t instand of int32_t as count of tiles 2021-06-26 15:33:12 +08:00
Kevin Ring 38a1faea12 Better names for tracing macros. 2021-06-26 00:11:52 +10:00
Kevin Ring 322ec936fb Formatting. 2021-06-25 21:12:28 +10:00
Kevin Ring 8b7832ba83 WIP overhaul of macros for tracing across threads. 2021-06-25 21:11:40 +10:00
Kevin Ring 30390baba8 Formatting. 2021-06-24 17:26:21 +10:00
Kevin Ring 3b5d1545e7 Give TilesetExternals an AsyncSystem rather than an ITaskProcessor. 2021-06-24 17:25:00 +10:00
Kevin Ring 669bdefeec Fix clang warnings. 2021-06-22 21:00:28 +10:00
Kevin Ring 6ece726757 Fix problems when tracing is disabled. 2021-06-22 17:19:33 +10:00
Kevin Ring 0fa144f516 Make "immediately" the default for continuations. 2021-06-22 15:31:30 +10:00
Kevin Ring 09b4e393de More cleanup of tracing macros. 2021-06-22 12:26:07 +10:00
Kevin Ring 44a69d4cda Clean up tracing API. 2021-06-21 17:33:59 +10:00
Bao Tran 3091533ef6 change PropertyView to MetadataPropertyView 2021-06-20 15:58:08 -04:00
Bao Tran 3846381cc9 change names of property type trait 2021-06-20 15:56:06 -04:00
Bao Tran c64fea091e test property trait and format 2021-06-20 15:51:53 -04:00
Bao Tran 3243f9c4ed test property type 2021-06-20 15:14:34 -04:00
Bao Tran c0faaf18dc change file name for batch table to EXT_feature_metadata 2021-06-20 14:51:15 -04:00
Bao Tran 951cb7a23e pass rapidjson::Document for batch table json to metadata upgrader 2021-06-20 14:47:36 -04:00
Bao Tran 661db543d2 replace operator[] with get() for PropertyView 2021-06-20 01:40:27 -04:00
Bao Tran 2498950aea use FeatureTableView for batch table upgrader test 2021-06-19 22:55:14 -04:00
Kevin Ring 5b88b652b7 Make ContinuationFutureType actually a Future. 2021-06-16 15:22:29 +10:00
Kevin Ring 5f82892528 Don't dispatch worker thread tasks unnecessarily. 2021-06-15 13:57:23 +10:00
Bao Tran 3363cee7e8 change MetadataPropertyView to PropertyView 2021-06-14 18:35:36 -04:00
Bao Tran bc8dd36951 impl FeatureTableView 2021-06-14 18:30:01 -04:00
Kevin Ring 2f93260a93 Support .then of Future<void>, and more tracing. 2021-06-10 15:46:49 +10:00
Bao Tran 90b1a7f041 add some check for offset buffers 2021-06-09 13:20:24 -04:00
Kevin Ring 0b4618914c Better request tracing. 2021-06-09 11:28:06 +10:00
Kevin Ring b5d54f07a9 Better macro names. 2021-06-09 10:21:35 +10:00
Kevin Ring 45f24d5177 Generalize thread overhead tracing. 2021-06-09 10:00:14 +10:00
Bao Tran 774730381e fix property view when accessing fixed array of boolean 2021-06-08 18:53:11 -04:00
Bao Tran 4ee41a8bf5 fix property view for array of boolean 2021-06-08 18:17:11 -04:00
Bao Tran a17e670473 use ceil to allocate buffer for boolean 2021-06-08 16:48:40 -04:00
Bao Tran 3f37b23b92 add bool array conversion 2021-06-08 16:11:17 -04:00
Bao Tran 3ecbbaa19e minor change in the function name 2021-06-08 12:04:54 -04:00
Bao Tran 15fcfbf7a2 fix compiler error 2021-06-08 11:41:49 -04:00
Bao Tran 1bf2a7f707 fix compiler warning 2021-06-08 10:18:50 -04:00
Kevin Ring 6f109b05c9 Trace overlay loading. 2021-06-08 16:22:55 +10:00
Kevin Ring 0648cb07d2 Allocate unique IDs for tileset loading slots. 2021-06-08 15:23:36 +10:00
Bao Tran 8082caf6a7 test dynamic array of number and string 2021-06-07 19:38:19 -04:00
Bao Tran 1febc730b9 make array test more generic 2021-06-07 17:37:51 -04:00
Bao Tran 7d47f56515 add test for fixed array of string 2021-06-07 16:01:44 -04:00
Bao Tran 2a1d03c314 test upgrading to fixed array of number 2021-06-07 15:34:04 -04:00