Skip to content
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

Merged
merged 17 commits into from
Nov 15, 2023
Merged

Conversation

kring
Copy link
Member

@kring kring commented Nov 8, 2023

This is a PR into #750 so merge that first.

Previously, a lot of logic for working with implicit tilesets was buried in ImplicitQuadtreeLoader and ImplicitOctreeLoader, which are closely tied to the selection algorithm. With this PR, a lot of the functionality is now available in the Cesium3DTilesContent library and can be used independent of selection. This is useful when programmatically loading and manipulating a 3D Tiles implicit tileset.

Base automatically changed from bounding-volumes to main November 15, 2023 17:13
Copy link
Contributor

@j9liu j9liu left a 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 {
Copy link
Contributor

@j9liu j9liu Nov 15, 2023

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.
Copy link
Contributor

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.

@j9liu j9liu merged commit 36b8cae into main Nov 15, 2023
14 checks passed
@j9liu j9liu deleted the quantized-and-implicit branch November 15, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants