-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose implicit tiling related functionality #752
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kring looks good to me! I'm not familiar with subtree math so I couldn't verify the mathematical correctness of everything. It looks like all the same tests pass, though, so that's probably good enough :')
I noticed two things but I'll just push a commit for them, then merge once CI passes.
@@ -198,6 +198,30 @@ TEST_CASE("Test implicit octree loader") { | |||
} | |||
} | |||
|
|||
namespace { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these changes also be done in TestImplicitQuadtreeLoader.cpp
?
} | ||
|
||
/** | ||
* @brief Computes the bounding volume for an implicit tile with the given ID. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these comments could use a few extra words so it's easier to distinguish the functions at a glance. I'll add some changes in a commit.
This is a PR into #750 so merge that first.
Previously, a lot of logic for working with implicit tilesets was buried in
ImplicitQuadtreeLoader
andImplicitOctreeLoader
, which are closely tied to the selection algorithm. With this PR, a lot of the functionality is now available in theCesium3DTilesContent
library and can be used independent of selection. This is useful when programmatically loading and manipulating a 3D Tiles implicit tileset.