Skip to content

rtx: Expose support for KHR_SPATIAL_FIELD_STRUCTURED_REGULAR_CELL_CENTERED - #388

Merged
jeffamstutz merged 2 commits into
NVIDIA:next_releasefrom
tarcila:khr-cell-centring
Nov 10, 2026
Merged

jeffamstutz merged 2 commits into
NVIDIA:next_releasefrom
tarcila:khr-cell-centring

Conversation

@tarcila

@tarcila tarcila commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

The new extension coexists and takes over VisRTX own VISRTX_SPATIAL_FIELD_DATA_CENTERING.

Accept the standardized 'cellCentered' BOOL parameter on structuredRegular
spatial fields from the ANARI 1.2 draft extension, alongside the existing
VISRTX_SPATIAL_FIELD_DATA_CENTERING 'dataCentering' string parameter.
'cellCentered' takes precedence when both are set, with a status message
on disagreement. No downstream changes needed: bounds, ROI and GPU data
already consume the internal cell-centered flag.
Add TestCellCentered: renders a z-ramp isosurface from a structuredRegular
field and pins the center-pixel depth for vertex-centered (default),
KHR cellCentered=true, VISRTX dataCentering=cell, and a conflicting pair
where the KHR parameter must win.
@tarcila
tarcila requested a review from jeffamstutz November 9, 2026 20:28
@jeffamstutz
jeffamstutz merged commit 9cfe555 into NVIDIA:next_release Nov 10, 2026
8 checks passed
@tarcila
tarcila deleted the khr-cell-centring branch November 11, 2026 22:03
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