Skip to content

fix(rtx): robust analytic primitive intersection & shading#334

Merged
jeffamstutz merged 1 commit into
NVIDIA:next_releasefrom
tarcila:issue-333
Jul 17, 2026
Merged

fix(rtx): robust analytic primitive intersection & shading#334
jeffamstutz merged 1 commit into
NVIDIA:next_releasefrom
tarcila:issue-333

Conversation

@tarcila

@tarcila tarcila commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Recondition cone/cylinder/sphere intersection (intersectPrimitives.h) to better handle precision issues and
corner cases.

Adds an fp64 oracle, property/metamorphic sweeps, and API tests for the failure modes. API sweeps cover sphere
far/tiny/huge object coords, transform resilience, and the zero-radius degenerate; the oracle asserts a cone
wall/cap rim never over-counts crossings.

Recondition cone/cylinder/sphere intersection (intersectPrimitives.h) to better handle precision issues and
corner cases.

Adds an fp64 oracle, property/metamorphic sweeps, and API tests for the failure modes. API sweeps cover sphere
far/tiny/huge object coords, transform resilience, and the zero-radius degenerate; the oracle asserts a cone
wall/cap rim never over-counts crossings.
@tarcila tarcila changed the title fix(rtx): condition cone body quadratic against fp cancellation (#333) fix(rtx): robust analytic primitive intersection & shading Jul 17, 2026
@tarcila
tarcila requested a review from jeffamstutz July 17, 2026 17:03
@tarcila

tarcila commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator Author

FYI @stukowski This should be helping the precision issues you ran into.

@jeffamstutz
jeffamstutz merged commit 7c25a02 into NVIDIA:next_release Jul 17, 2026
8 checks passed
@tarcila
tarcila deleted the issue-333 branch July 17, 2026 18:55
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