AcademySoftwareFoundation / AcademySoftwareFoundation/openvdb

Get indices from leaf in nanovdb?

Open
#1,782 2 comments 0 reactions 0 assignees View on GitHub
nanovdb
Dominant language
C++
Stars
3.4k
Forks
774
Avg merge
3d 9h
Merged PRs (30d)
34

Description

Hi,

I'm working on a project with nanovdb and I need the indices() of leaf, like in OpenVDB:

grid->tree().probeLeaf(Coord(x,y,z))->indices()

But I can't find anything similar in the nanovdb leaf:

nanoGrid->getAccessor().probeLeaf(Coord(x,y,z))-> ?

I really need them, is there something equal or equivalent?

Thanks.

Contributor guide

Open the contributing guide

Research direction

Compare the OpenVDB call grid->tree().probeLeaf(Coord(x,y,z))->indices() with the NanoVDB entry point nanoGrid->getAccessor()->probeLeaf(Coord(x,y,z)). Search the NanoVDB leaf and accessor APIs for an equivalent indices operation; done means identifying the supported access path or confirming that the capability is missing.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.