Skip to content

Support fieldIndex in VDBs#2394

Merged
sebastienblor merged 8 commits intoAutodesk:masterfrom
sebastienblor:pr/2315_b
Jan 12, 2026
Merged

Support fieldIndex in VDBs#2394
sebastienblor merged 8 commits intoAutodesk:masterfrom
sebastienblor:pr/2315_b

Conversation

@sebastienblor
Copy link
Copy Markdown
Collaborator

Changes proposed in this pull request
This PR includes the changes previously pushed in #2316 that were reverted. It also includes a support of fieldIndex in regular vdb translation, both in usd and hydra. It also adds a test_2315 with that use case.

It's marked as a draft as I still don't have something satisfying, at the moment I'm only supporting the field index if it is > 0 which is not really the intended behaviour. Problem is that the default value of fieldIndex is 0, so if we always take it into account it would end up changing the code path for all vdb renders, in a way that would break existing scenes.

Issues fixed in this pull request
Fixes #2315

@sebastienblor sebastienblor changed the title Pr/2315 b Support fieldIndex in VDBs Aug 1, 2025
@sebastienblor sebastienblor marked this pull request as ready for review December 17, 2025 10:57
)
{
custom rel field:density = </adsktest/testdata/density>
rel material:binding = </mtl/material>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I run the usd checker I got:
Found material bindings but no MaterialBindingAPI applied on the prim </adsktest/testdata>

Copy link
Copy Markdown
Collaborator

@cpichard cpichard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no changelog entry, do we want one ?

@sebastienblor sebastienblor requested a review from cpichard January 8, 2026 14:48
@sebastienblor sebastienblor changed the base branch from master to fix-7.4.5 January 12, 2026 13:23
@sebastienblor sebastienblor changed the base branch from fix-7.4.5 to master January 12, 2026 13:24
@sebastienblor sebastienblor merged commit 78f7282 into Autodesk:master Jan 12, 2026
9 checks passed
@sebastienblor sebastienblor deleted the pr/2315_b branch January 12, 2026 15:28
sebastienblor added a commit that referenced this pull request Jan 19, 2026
* Fixed in render delegate by using SOPgetVDBVolumePrimitiveWithIndex (#2316)

Translator is still WIP

(cherry picked from commit bb77b6e)
(cherry picked from commit 9adaa59)

* Fix typo in previous commit

(cherry picked from commit 842eca8)

* Support fieldIndex in vdb translation #2315

* Always set the fieldIndex in vdb volumes

* Add changelog

* Fix warnings and test 2239

---------

Co-authored-by: Tom Minor <5022079+TomMinor@users.noreply.github.com>
(cherry picked from commit 78f7282)
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.

VDB fieldIndex isn't used

3 participants