Commit Graph

124 Commits

Author SHA1 Message Date
Ashley Rogers df1f887e6d Doc comments, rename ImageCesium 2024-10-10 15:28:05 -04:00
Kevin Ring d9ff8acb9b Report a warning for unsupported extensions. 2024-09-13 16:16:31 +10:00
Kevin Ring 7ecb171f44
Merge pull request #939 from dbs4261/patch-1
Fixed Missing Includes with Libc++18
2024-09-10 08:05:20 +10:00
Kevin Ring 642d13adf5 Tiny tweaks. 2024-09-09 13:36:55 +10:00
Kevin Ring c6732a3d34 Merge remote-tracking branch 'origin/main' into friendly-build 2024-09-09 13:18:40 +10:00
Kevin Ring 2de6c4ab1b Add another missing include. 2024-08-29 14:07:28 +10:00
Jason Sobotka 3b84828b54 format 2024-08-23 17:01:43 -05:00
Jason Sobotka b2108e2b8e Minimal changes to make cesium-native friendly to building in vcpkg manifest mode as part of another build
Small source changes for stricter builds:
Removed extraneous semicolons - GltfReader.cpp, ImageManipulation.cpp
size_t static cast - GltfUtilities.cpp
2024-08-23 11:31:11 -05:00
Daniel Simon c015a9b29a
Update GltfUtilities.cpp
Same missing include fix in a new file
2024-08-15 11:09:30 -07:00
Kevin Ring 1fcdeadfd9 Merge remote-tracking branch 'origin/main' into vcpkg-swl 2024-08-02 19:45:58 +10:00
Kevin Ring 19486927a4 Put local functions into the anonymous namespace. 2024-07-31 17:51:23 +10:00
Brian L 621304724f Change rayAABBParametric to return a std optional 2024-07-25 10:41:39 -06:00
Brian L 7b5382e855 let rayTriangleParametric return an optional 2024-07-24 13:47:12 -06:00
Brian L d03181a97a Revert changes to ForEachPrimitiveInSceneXXX callbacks 2024-07-24 13:17:22 -06:00
Brian L 3b6c5a4467 Rewrite to not rely on != 1.0 checks 2024-07-09 15:04:40 -06:00
Brian L 7f2d18b0d4 Replace assert with getSafe for index accessor 2024-07-09 14:47:42 -06:00
Brian L 2e6695de20 Update documentation and hit result cleanup 2024-07-09 13:50:39 -06:00
Brian L 888f611f45 Remove unneeded decltypes 2024-07-09 09:05:50 -06:00
Brian L 16d18a1ceb Remove duplicate implementations of ::readFile 2024-07-08 16:12:56 -06:00
Brian L 04f17a34dc Change some occurrences of double 1 to 1.0 2024-07-08 16:01:01 -06:00
Brian L 4f47b7b0fc update cullBackFaces doc 2024-07-08 15:35:04 -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
Kevin Ring ff96b9b07a
Merge pull request #874 from CesiumGS/forced-assertions
Add ability to force assertions
2024-06-21 16:12:56 +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
Brian L 6731089edc Add intentionally invalid models, and corresponding unit tests 2024-06-13 15:09:15 -06:00
Brian L df5a3a5581 Rework result of intersect function to include warnings for malformed gltfs 2024-06-13 14:47:52 -06:00
Brian L 1f6ac44834 Merge branch 'main' into gltf-ray-intersect 2024-06-12 16:22:01 -06:00
Brian L 7c291b5ea2 Add cube translation test generated from script 2024-06-12 16:13:32 -06:00
Brian L 7bdd2104a5 Change index component types for more unit test coverage 2024-06-12 16:06:29 -06:00
Brian L 31aeae754e Change iteration cadence to protect against incomplete triangles 2024-06-12 15:55:33 -06:00
Brian L 1854ecf55a Fix bug where first triangle in strip would get skipped 2024-06-12 15:48:19 -06:00
Brian L 7b58901bf3 Add support for gltf quantized mesh extension (non-float positions) 2024-06-12 15:34:07 -06:00
Brian L 2fd0b3a2c7 Add quantized cube test data 2024-06-12 10:44:17 -06:00
Ashley Rogers f332464b30 Merge with main 2024-06-06 16:57:20 -04:00
Ashley Rogers d961a40e3d Remove as many WGS84 defaults as possible. 2024-06-06 16:53:48 -04:00
Kevin Ring ca42500d54 Merge remote-tracking branch 'origin/main' into vcpkg-2 2024-06-05 14:06:47 +10:00
Brian L dfea26831c Remove redundant move (build warning) 2024-05-31 13:38:14 -06:00
Brian L 5092d26ee6 More warnings fixes and cleanup 2024-05-31 12:57:02 -06:00
Brian L aa95514762 update from main 2024-05-31 12:39:37 -06:00
Brian L dcee2c8aab warning fix 2024-05-31 12:30:29 -06:00
Brian L b0b48bdee4 Update comments from peer review 2024-05-31 12:25:09 -06:00
Brian L 5d72dcf615 Fix bug where intersecting gltfs with nodes with different scaling could produce incorrect results
Also unify the ::intersectRayGltfModel and ::intersectRayGltfModelParametric functions. We don't really need two anymore
2024-05-31 12:22:46 -06:00
Brian L d4ec50da28 Add rejection of non-float positions 2024-05-31 10:38:38 -06:00
Brian L 402a485f6b Ignore float component types for index buffers 2024-05-31 10:13:24 -06:00
Brian L a9c5658242 Add checks for invalid indices. Fix casting for AccessorView operations 2024-05-31 09:46:07 -06:00
Brian L 905eb94912 let findClosestIndexedRayHit specify a templated AccessorView for indices, for clarity 2024-05-31 09:30:07 -06:00
Brian L 84eb49097c Use ::createAccessorView to clean up handling of index format variations 2024-05-31 09:17:36 -06:00