Skip to content

Feature/upstream curve fixes - #21

Merged
dvicini merged 2 commits into
google:mainfrom
Poupine:feature/upstream-curve-fixes
Jul 31, 2026
Merged

Feature/upstream curve fixes#21
dvicini merged 2 commits into
google:mainfrom
Poupine:feature/upstream-curve-fixes

Conversation

@Poupine

@Poupine Poupine commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

As discussed, I'm sending my changes upstream :)

Poupine added 2 commits July 31, 2026 07:30
USD widths represent diameter, whereas Mitsuba curve control points expect radius. This change applies the 0.5 factor to properly handle curve sizes.
Change UsdGeom.BasisCurves to UsdGeom.Curves in convert_to_mitsuba and _convert_curves to support both BasisCurves and NurbsCurves. Detect bsplinecurve based on type and basis attributes or NurbsCurves class.
@dvicini
dvicini self-requested a review July 31, 2026 08:27
@dvicini
dvicini merged commit f339031 into google:main Jul 31, 2026
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