Commit Graph

363 Commits

Author SHA1 Message Date
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
Janine Liu a40303d7f1 Re-add code so template compiles 2024-02-15 13:30:46 -05:00
Janine Liu 9e72b7eb36 Don't automatically apply transform in feature ID texture, property texture property 2024-02-15 13:23:25 -05:00
Janine Liu fb602ca425 Merge branch 'khr_texture_transform-for-extensions' into texture-transform-in-views 2024-02-13 17:03:28 -05:00
Janine Liu 49b04e0816 Merge branch 'main' into texture-transform-in-views 2024-02-13 16:44:18 -05:00
Sean Lilley 70507353af Regenerate files 2024-02-13 13:54:25 -05:00
Sean Lilley 8b65c8dc44 Merge branch 'main' into khr_texture_transform-for-extensions 2024-02-13 13:47:20 -05:00
Janine Liu 6c4f31053a Add validation statements, other tweaks 2024-02-13 13:08:30 -05:00
Sean Lilley 4ac60b45ea Remove support for EXT_feature_metadata in CesiumGltf, CesiumGltfReader, and CesiumGltfWriter 2024-02-13 12:21:02 -05:00
Janine Liu cad3f95c27 Add unit tests, use KhrTextureTransform in GltfReader 2024-02-13 11:47:06 -05:00
Janine Liu 544f318806 Fix compilation errors 2024-02-13 10:50:53 -05:00
Janine Liu 9d7c2a5dea Create KhrTextureTransform class 2024-02-13 10:45:33 -05:00
Sean Lilley 59a950ab0e Attach KHR_texture_transform to EXT_mesh_features and EXT_structural_metadata objects 2024-02-01 15:16:46 -05:00
Kevin Ring d0eb4c31a5 Support texture transform on occlusion and normal textures. 2024-01-31 19:51:29 +11:00
Kevin Ring 260c0f307d Update for latest main, add a test. 2023-12-19 22:57:09 +11:00
Kevin Ring b1e29de6b0 Merge remote-tracking branch 'origin/main' into load-gltf-uri 2023-12-19 21:28:00 +11:00
Kevin Ring a900fa6489 Move TestImageManipulation.cpp to the right library. 2023-11-29 09:40:36 +11:00
Kevin Ring eb0805545e Merge remote-tracking branch 'origin/raster-overlay-refactoring' into bake-overlays-to-gltf 2023-11-29 09:32:36 +11:00
Sean Lilley 7aba4a6fa3 Added test 2023-11-20 11:00:31 -05:00
Kevin Ring 761630d45a Add CesiumGltfContent library. 2023-11-15 17:20:08 +11:00
Sean Lilley c20713c1d4 Fixed crash when loading glTFs with data uri images 2023-11-08 10:05:13 -05:00
Kevin Ring c7a5c70e37 Fix case of filename. 2023-09-08 22:57:38 +10:00
Kevin Ring 2002f0d313 Add missing generated file. 2023-09-08 15:41:52 +10:00
Kevin Ring 3c05ac98b1 Merge remote-tracking branch 'origin/main' into upgrade-feature-metadata 2023-09-08 15:34:49 +10:00
Kevin Ring 710c47e8b8 Merge remote-tracking branch 'origin/upgrade-feature-metadata' into final-metadata-changes 2023-09-08 12:02:39 +10:00
Kevin Ring 309c1817fa Merge remote-tracking branch 'origin/json-read-tweaks' into generated-readers 2023-08-31 09:08:54 +10:00
Kevin Ring 77a256cc0b Merge remote-tracking branch 'origin/main' into json-read-tweaks 2023-08-31 08:59:46 +10:00
Janine Liu c7f01d437c Warn about EXT_feature_metadata 2023-08-30 15:28:06 -04:00
Kevin Ring 2babed53b1 Add tests of unknown properties in glTF. 2023-08-25 15:13:05 +10:00
Brian Langevin f442bb4268
Merge branch 'main' into unknown-properties 2023-08-24 11:17:47 -06:00
Kevin Ring b1f2650f55 Add *Reader classes to CesiumGltfReader and Cesium3DTilesReader. 2023-08-23 18:52:44 +10:00
Kevin Ring 25944b78d4 Read from radidjson::Value. 2023-08-23 15:37:02 +10:00
Joseph Kaile 410312ff32 formatting 2023-08-17 15:49:31 -04:00
Joseph Kaile e4852cdf7b fully decompress ktx texture if unable to transcode 2023-08-17 15:47:31 -04:00