Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "vertex" UV coordinates on curves in the render delegate #1578

Merged
merged 4 commits into from
Jul 3, 2023

Conversation

sebastienblor
Copy link
Collaborator

@sebastienblor sebastienblor commented Jun 22, 2023

Changes proposed in this pull request
In the render delegate, we were only supporting "uniform" primvars to turn the "st" primvars into builtin uvs.
But Solaris seems to output them as "varying" primvars, where each curve vertex has a value, but with a value that is identical for each vertex of the curve. In this PR we support this use case, by considering the uv coordinate at the strand root (first vertex), and applying that on the whole strand.

I added test_1435 to exercise this in the procedural. But I had to fix #1579 because the houdini scene had no width defined.

Issues fixed in this pull request
Fixes #1435
Fixes #1579

@sebastienblor sebastienblor marked this pull request as ready for review June 23, 2023 13:59
@sebastienblor sebastienblor merged commit 2d0479b into Autodesk:master Jul 3, 2023
10 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.

Curves without any width should render with a default value st not translated to uv for curves
2 participants