Skip to content

hdMitsuba: Store curve transform in spec and apply during shape build. - #25

Merged
dvicini merged 3 commits into
google:mainfrom
dongclin:curve-transform-fix
Aug 13, 2026
Merged

hdMitsuba: Store curve transform in spec and apply during shape build.#25
dvicini merged 3 commits into
google:mainfrom
dongclin:curve-transform-fix

Conversation

@dongclin

Copy link
Copy Markdown
Collaborator

Fix USD curve rendering issues in hdMitsuba:

  • Store world transform in CurveSpec and bake into control points during BuildCurves.
  • Add unit test test_curve_transform verifying parity with usd_mitsuba.

@dvicini

dvicini commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Hi Oscar,

There appears to be a failure in the pyrefly checks, can you take a look?

Fix USD curve rendering issues in hdMitsuba:

- Store world transform in CurveSpec and bake into control points during BuildCurves.
- Add unit test test_curve_transform verifying parity with usd_mitsuba.
- Guard against missing or empty widths in usd_mitsuba curve translation.
@dongclin
dongclin force-pushed the curve-transform-fix branch from 3dc914c to 58377b7 Compare August 12, 2026 15:13
Comment thread hdmitsuba/tests/shape_test.py Outdated
Comment thread usd_mitsuba/translator.py
Comment thread usd_mitsuba/translator.py
@dvicini
dvicini merged commit b053362 into google:main Aug 13, 2026
8 of 9 checks passed
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