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

Refactor Smooth Mesh display #50

Open
sirpalee opened this issue Jan 21, 2019 · 1 comment
Open

Refactor Smooth Mesh display #50

sirpalee opened this issue Jan 21, 2019 · 1 comment
Assignees

Comments

@sirpalee
Copy link
Contributor

sirpalee commented Jan 21, 2019

At the moment we are controlling smooth-mesh display via changing of the subdivision method when returning the HdMeshTopology. Since that's going to be broken when subdiv levels are previewed, we need to look into alternatives.

I think we could get the same results by setting the subdivision style to Catmull-Clark and setting the enable flat shading flag on the display style.

@sirpalee sirpalee self-assigned this Jan 21, 2019
@sirpalee
Copy link
Contributor Author

I tried using HdDisplayStyle's enableFlatShading and meshes with a Catmull-Clark subdivision setting, but it doesn't work. For now I'm going to stick to the current approach that works, and limit this behavior to HdStreamRenderDelegate.

Removing this ticket from Beta 1 as it requires a bit more digging around and the feature already works.

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

No branches or pull requests

1 participant