Commit Graph

79 Commits

Author SHA1 Message Date
Kevin Ring 8215e5dd92 Add OrientedBoundingBox::toAxisAligned. 2023-03-16 10:33:18 +11:00
Kevin Ring d5f3e8cb26 Add getOrientedBoundingBoxFromBoundingVolume and
OrientedBoundingBox::transform.
2023-03-15 17:41:51 +11:00
Kevin Ring 0ab860f728 Add computeTranslationRotationScaleFromMatrix. 2023-02-15 18:27:27 +11:00
Kevin Ring 65e6efc3bc Beginning of GlobeAnchor implementation. 2023-02-13 22:01:01 +11:00
Kevin Ring 7efd09db05 Merge remote-tracking branch 'origin/main' into ue5 2022-02-24 10:48:11 +11:00
Kevin Ring 9c33e51598
Merge branch 'main' into distance-to-bounding-sphere 2022-01-26 14:40:25 +11:00
Joseph Kaile cf21f59481 fix distance squared to function in bounding sphere 2022-01-25 13:13:33 -05:00
Kevin Ring 1a100de53e More renaming for consistency. 2022-01-25 19:36:10 +11:00
Nithin Pranesh 4b3e7af9b2 fix wrong endianness when counting available bits 2022-01-13 15:13:44 -05:00
Sean Lilley 2cdcb92e20 Namespace cleanup 2021-12-02 18:34:22 -05:00
Nithin Pranesh a8582e0989 QuadtreeAvailability and OctreeAvailability classes don't need tiling scheme 2021-11-17 01:54:47 -05:00
Nithin Pranesh 0b1f3a03b6 fix wrong endianness when reading availability bitstream 2021-11-11 20:46:49 -05:00
Nithin Pranesh e54e087674 Merge branch 'external-buffers-images2' into implicit-tiling 2021-11-11 20:43:28 -05:00
Kevin Ring 9f1c1b27d2 More tests. 2021-11-05 15:40:30 +11:00
Nithin Pranesh ea5f5aaee4 fix usage of vec3 instead of dvec3 2021-11-04 21:52:53 -04:00
Nithin Pranesh ff23bff509 gcc/clang warning 2021-11-04 17:19:04 -04:00
Nithin Pranesh 1724f91cb0 fix gcc/clang warnings 2021-11-04 15:41:56 -04:00
Kevin Ring 92f0d71b51 WIP support for S2 bounding volumes. 2021-11-04 23:58:58 +11:00
Nithin Pranesh c234ceb735 Continue refactoring subtree loading logic into tile traversal
everything is broken
2021-11-04 00:37:24 -04:00
Nithin Pranesh 6dc7a7b787 add faster way to insert new child subtree 2021-11-03 00:46:48 -04:00
Nithin Pranesh b311d44d6b WIP move subtree loading to Tileset.cpp 2021-11-02 04:43:12 -04:00
Nithin Pranesh 380b2f6f87 test OctreeAvailability / fix bugs exploited by test 2021-10-26 16:38:22 -04:00
Nithin Pranesh 6c12c66848 renamed AvailabilityTree -> Availability 2021-10-26 14:49:35 -04:00
Nithin Pranesh 47935f824d fix AvailabilityAccessor, gcc/clang tests should pass now 2021-10-26 11:50:59 -04:00
Nithin Pranesh 46cae3bd03 tests for AvailabilityUtilities and QuadtreeAvailability 2021-10-25 16:11:49 -04:00
Nithin Pranesh 306fc64d75 more gcc/clang warnings fixed 2021-10-13 11:40:33 -04:00
Nithin Pranesh f5c30aca51 gcc/clang warnings 2021-10-13 11:18:42 -04:00
Nithin Pranesh f9eda479f5 fix some gcc/clang warnings 2021-10-13 11:01:56 -04:00
Nithin Pranesh b5b385424e avoid using a global morton index 2021-10-12 10:12:30 -04:00
Nithin Pranesh ac2db1a119 add OctreeAvailability 2021-10-11 13:52:01 -04:00
Nithin Pranesh 03c0e1da97 better names for availability classes? 2021-10-09 15:49:09 -04:00
Nithin Pranesh 7844ad5d61 remove needless constexpr 2021-10-09 15:29:07 -04:00
Nithin Pranesh c74ddb9f31 small fixes, simple implicit quadtree tileset almost working 2021-10-08 20:52:32 -04:00
Nithin Pranesh 8724a676e8 small fixes, fix test 2021-10-06 20:34:15 -04:00
Nithin Pranesh a3a9177c96 Availability accessors, Generalized some availability functionality
Tried too hook up the subtree content parsing back into the availability tree.
Close to being able to test on a basic tileset.
2021-10-06 16:12:02 -04:00
Nithin Pranesh 70d31d64fb implicit tileset parsing, some rearrangement/fixes in quadtreeSubtreeAvailability 2021-10-05 17:23:10 -04:00
Nithin Pranesh 07eb06718a format 2021-10-05 01:22:32 -04:00
Nithin Pranesh b577556e11 fixed issues from merge, added subtree requests 2021-10-05 01:19:52 -04:00
Nithin Pranesh c05591858e Merge branch 'main' into implicit-tiling 2021-10-05 00:23:28 -04:00
Nithin Pranesh be91170625 return more availability info from a single tile availability query 2021-10-04 23:51:48 -04:00
Nithin Pranesh fb2e0374d0 started hooking up quadtree subtree availability
compiling again now, regular quantized mesh working again
2021-10-03 20:55:27 -04:00
Nithin Pranesh a139035a60 finished(?) QuadtreeSubtreeAvailability, everything else still WIP 2021-10-02 21:02:58 -04:00
Nithin Pranesh 0f92b5ef39 WIP some progress on new subtree availability (for quadtrees)
Accidentally assumed subtreeLevels are always 3. Need to generalize that now.
2021-10-02 11:34:00 -04:00
Nithin Pranesh e171dadb6a tiling schemes look correct now and some upgrades in Tile.cpp, availability next 2021-09-29 17:12:59 -04:00
Nithin Pranesh 4e394ddb27 added octree tiling scheme 2021-09-28 12:50:24 -04:00
Marco Hutter 27fdd26e27 Merge remote-tracking branch 'origin/main' into include-style-fixes
# Conflicts:
#	Cesium3DTilesSelection/include/Cesium3DTilesSelection/GltfContent.h
#	Cesium3DTilesSelection/src/Batched3DModelContent.cpp
#	Cesium3DTilesSelection/src/CompositeContent.cpp
#	Cesium3DTilesSelection/src/ExternalTilesetContent.cpp
#	Cesium3DTilesSelection/src/GltfContent.cpp
#	Cesium3DTilesSelection/src/QuantizedMeshContent.cpp
#	Cesium3DTilesSelection/src/Tile.cpp
#	Cesium3DTilesSelection/src/TileContentFactory.cpp
#	Cesium3DTilesSelection/src/calcQuadtreeMaxGeometricError.h
2021-09-28 14:38:33 +02:00
Marco Hutter 49781e9011 Include style fixes for CesiumGeometry 2021-09-19 15:18:58 +02:00
Marco Hutter 46c9c7ec7d Formatting after adding const 2021-09-15 15:38:06 +02:00
Marco Hutter de8145ab9e Added missing const keyword
C26496: The variable ... is assigned only once, mark it as const
2021-09-15 15:37:29 +02:00
Kevin Ring c0b7b130fb Rename intersect to computeIntersection. 2021-08-23 19:22:08 +10:00