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 Plane primitives in the usd procedural #2059

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

sebastienblor
Copy link
Collaborator

Changes proposed in this pull request
Adding a translator reader for UsdPlane primitives, using as a reference the code from UsdImaging planes https://github.com/PixarAnimationStudios/OpenUSD/blob/release/pxr/usdImaging/usdImaging/implicitSurfaceMeshUtils.cpp#L438

Adding test_2058 with such a prim, that was already passing in hydra, and that now passes in USD too

Issues fixed in this pull request
Fixes #2058

@sebastienblor sebastienblor changed the title Support UsdPlane Support UsdPlane primitives in the usd procedural Aug 7, 2024
@sebastienblor sebastienblor changed the title Support UsdPlane primitives in the usd procedural Support Plane primitives in the usd procedural Aug 7, 2024
Copy link
Collaborator

@cpichard cpichard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the CI is failing, it looks like 21.08 didn't have planes implemented
libs/translator/reader/read_geometry.cpp:25:10: fatal error: 'pxr/usd/usdGeom/plane.h' file not found

@sebastienblor
Copy link
Collaborator Author

ha, I wondered why we hadn't implemented them in the first place...

@cpichard
Copy link
Collaborator

cpichard commented Aug 8, 2024

@sebastienblor
Copy link
Collaborator Author

Added some ifdefs

@sebastienblor
Copy link
Collaborator Author

Note that I removed here a duplicated line in the changelog

@sebastienblor sebastienblor merged commit f7c1e5d into Autodesk:master Aug 9, 2024
9 checks passed
@sebastienblor sebastienblor deleted the pr/2058 branch August 9, 2024 08:37
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.

Support Plane primitives in the procedural
2 participants