Skip to content

point cloud features #1370

Answered by Idclip
AlexeySmolenchuk asked this question in Q&A
Apr 26, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hey @somesanctus - there are currently no high level tools to achieve this for OpenVDB Points. The recently added PointRasterize tools do loop over neighbouring points based on search distances but are designed for transfering to numeric grids:

// loop over overlapping leaf nodes
Coord leafOrigin;
for (leafOrigin[0] = min[0]; leafOrigin[0] <= max[0]; leafOrigin[0]+=DIM32) {
for (leafOrigin[1] = min[1]; leafOrigin[1] <= max[1]; leafOrigin[1]+=DIM32) {
for (leafOrigin[2] = min[2]; leafOrigin[2] <= max[2]; leafOrigin[2]+=DIM32) {
// if no overlap, continue
CoordBBox pbox =

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AlexeySmolenchuk
Comment options

@danrbailey
Comment options

Answer selected by AlexeySmolenchuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants