Skip to content

Improve handling of multi-dimensional features in Injection operations #70

@swahtz

Description

@swahtz

📋 Originally created by @sifakis

Original author: @sifakis
Date: 2025-07-14T23:09:05Z


The current handling of injection for sidecars of multidimensional and/or strided features (https://github.com/NVIDIA-Omniverse/openvdb/pull/636) performs an expensive and maybe unnecessary translation from a flattened linear offset of a scalar entry within a tensor (as if it was contiguous and row-major) into the corresponding offset under a specific stride pattern. It should be possible to circumvent that computation (involving an integer division for every single scalar copy), and perform this computation purely using the voxel index offset.

Metadata

Metadata

Assignees

Labels

Topology OperationsIssues related to topology operations (prune, merge, dilate, etc.core libraryCore fVDB library. i.e. anything in the _Cpp module (C++) or fvdb python modulev0.1

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions