-
Notifications
You must be signed in to change notification settings - Fork 57
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
Conversation
There was a problem hiding this 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
ha, I wondered why we hadn't implemented them in the first place... |
It was added in 22.08 https://github.com/PixarAnimationStudios/OpenUSD/blob/release/CHANGELOG.md |
Added some ifdefs |
Note that I removed here a duplicated line in the changelog |
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