Commit Graph

5086 Commits

Author SHA1 Message Date
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
Ashley Rogers 938a4a391b Update CHANGES.md 2024-06-12 15:58:03 -04:00
Ashley Rogers 30f7461bb8 Merge branch 'main' of github.com:CesiumGS/cesium-native into custom-ellipsoid 2024-06-12 15:52:16 -04:00
Ashley Rogers 8f5141c15f Force MSVC to error on issues Clang will surface. 2024-06-12 15:46:24 -04:00
Brian L 2fd0b3a2c7 Add quantized cube test data 2024-06-12 10:44:17 -06:00
Ashley Rogers f5086231f3 Fix test 2024-06-11 16:46:34 -04:00
Brian L ecf0fe381e Turn on MSVC static linking 2024-06-11 14:12:18 -06:00
Brian L 53726e31ac Add CESIUM_MSVC_STATIC_RUNTIME_ENABLED cmake variable 2024-06-11 13:58:43 -06:00
Ashley Rogers b4742c40db Fix initialization order issues 2024-06-11 14:41:17 -04:00
Ashley Rogers 1598c3f863 Format 2024-06-11 14:23:36 -04:00
Ashley Rogers 0f64573faf Address rest of review comments 2024-06-11 14:22:45 -04:00
Ashley Rogers 7517ad97df Address some review comments 2024-06-11 13:58:26 -04:00
Brian Langevin 8ce314289e
Merge pull request #900 from jqntn/msvc-allow-both-static-dynamic-runtime
Add support for static linking with MSVC runtime library
2024-06-11 11:23:28 -06:00
Tim Moore b48f1381af Pass up axis to GltfConverters
The i3dm converter needs to know the coordinate axis convention of the
tileset in order to correctly construct instance transformations.

Resolves #904.
2024-06-11 16:36:47 +02:00
Janine Liu 6cf5fa9b8a Check for radii = 0 2024-06-07 10:02:45 -04:00
Janine Liu e0963bee92
Merge pull request #901 from jiangheng90/ray_ellipsoid
update rayEllipsoid Param inverseRadii to radii
2024-06-07 09:03:47 -04: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
jiangheng90 875f50934e update rayEllipsoid Param inverseRadii to radii 2024-06-06 14:22:26 +08:00
Kevin Ring ef1cb9001f
Merge pull request #896 from jiangheng90/ray_ellipsoid
add ray ellipsoid for intersection tests
2024-06-05 14:01:40 +10:00
jiangheng90 6d4fea6bef
add rayEllipsoid to CHANGES.md 2024-06-05 11:43:49 +08:00
jiangheng90 3b73be23ca move local variable to namespace in ray ellipsoid test 2024-06-05 11:39:09 +08:00
jiangheng90 1e254c117a
Merge branch 'CesiumGS:main' into ray_ellipsoid 2024-06-05 11:24:02 +08:00
Kevin Ring f0397e1ca2
Merge pull request #894 from CesiumGS/remove-unused-meshes-materials
Added `removeUnusedMeshes` and `removeUnusedMaterials`
2024-06-05 11:36:05 +10:00
Kevin Ring 7a6feb56d3 Move changelog entry to the correct version. 2024-06-05 11:29:41 +10:00
Kevin Ring af2b6732b8 Merge remote-tracking branch 'origin/main' into remove-unused-meshes-materials 2024-06-05 11:28:51 +10:00
Julien QUENTIN af39322de1 synchronize libjpeg-turbo's WITH_CRT_DLL flag with CMAKE_MSVC_RUNTIME_LIBRARY 2024-06-04 17:52:02 +02:00
jiangheng90 5d52f71a48 add ray ellipsoid for intersection tests 2024-06-03 14:03:09 +08:00
Kevin Ring 43187540a5 Bump version, update changelog. 2024-06-03 12:36:45 +10:00
Kevin Ring b647e633b6
Merge pull request #895 from CesiumGS/i3dm-tests-and-fixes
Add i3dm tests and fix some bugs.
2024-06-03 11:33:02 +10:00
Kevin Ring 0e74915a90 Add i3dm tests and fix some bugs. 2024-06-03 10:57:46 +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 014a3c3801 revert unintentional change 2024-05-31 12:44:45 -06:00
Brian L 847763e3fc formatting 2024-05-31 12:40:16 -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
Kevin Ring 688cc1bf41
Merge pull request #888 from CesiumGS/fix-extension-writer-crash
Fixed crash when writing statically-typed glTF extensions that aren't registered
2024-05-31 08:06:28 +10:00
Sean Lilley fe64db3c94 Added removeUnusedMeshes and removeUnusedMaterials 2024-05-30 13:54:47 -04:00
Brian L 5a50038b88 Update code doc 2024-05-30 10:40:58 -06:00
Brian L cab5d1e843 Fix bug where a scaled gltf would produce incorrect hit results. Add test. 2024-05-30 10:32:41 -06:00