-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Katana crash loading USD with material facesets #235
Comments
Hah. This points out a critical flaw in our face set encoding design. Because it uses a single relationship paired with the "array of sets in the partition", no two sets can share the same target. The question is how fundamental a redesign we need to pursue; we have already encountered some friction with MaterialX in our design. From a Luma perspective, do you think the Alembic-style encoding, with its own round tripping problems we tried to avoid, is a better overall model to pursue?
…--SpiffiPhone
On Jul 5, 2017, at 7:00 PM, Paul Molodowitch ***@***.***> wrote:
Description of Issue
If you export to USD a maya mesh that has two different component groups, both assigned to the same material, then when you try to import that USD into katana, katana will crash
Steps to Reproduce
Unzip the attached file somewhere
Open cube_material_faceSets_crash.ma in maya
Export it to usd
In katana, create a pxrUsdIn, and point it at the created usd
Set your view node to your pxrUsdIn node, then expand the scene hierarchy until you can see the children of the cube node - it should crash
System Information (OS, Hardware)
Linux
Package Versions
usd-0.7.6
cube_material_faceSets_crash.zip
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
We prohibit the use of face assignment (in this instance, an animator
slipped one by our relatively new USD export process) so our goal was
simply to get the code to a state where it would not crash if that happened
again. I personally don't have an opinion on this but maybe @elrond79 does.
On Wed, Jul 5, 2017 at 11:52 PM F. Sebastian (spiff) Grassia <
notifications@github.com> wrote:
… Hah. This points out a critical flaw in our face set encoding design.
Because it uses a single relationship paired with the "array of sets in the
partition", no two sets can share the same target. The question is how
fundamental a redesign we need to pursue; we have already encountered some
friction with MaterialX in our design. From a Luma perspective, do you
think the Alembic-style encoding, with its own round tripping problems we
tried to avoid, is a better overall model to pursue?
--SpiffiPhone
> On Jul 5, 2017, at 7:00 PM, Paul Molodowitch ***@***.***>
wrote:
>
> Description of Issue
>
> If you export to USD a maya mesh that has two different component
groups, both assigned to the same material, then when you try to import
that USD into katana, katana will crash
>
> Steps to Reproduce
>
> Unzip the attached file somewhere
> Open cube_material_faceSets_crash.ma in maya
> Export it to usd
> In katana, create a pxrUsdIn, and point it at the created usd
> Set your view node to your pxrUsdIn node, then expand the scene
hierarchy until you can see the children of the cube node - it should crash
> System Information (OS, Hardware)
>
> Linux
>
> Package Versions
>
> usd-0.7.6
>
> cube_material_faceSets_crash.zip
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub, or mute the thread.
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#235 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAD3E-NdahbhxiEZdG7Nl4GhzJHkjSYkks5sLFnggaJpZM4OPEnL>
.
|
I think this might just be a bug in the maya exporter, rather than a flaw in the design (at least as far as Maya material assignment is concerned). ie, at an attribute level, Maya will happily let you assign two different component groups from the same shape to the same shading group... but I believe functionally it's equivalent to just having all the faces in one group. So just changing the exporter to check for this case, and then combine the face sets, should be good. |
Thanks, guys! I think we can make both Maya and katana plugins more robust.
…--SpiffiPhone
On Jul 5, 2017, at 9:54 PM, Paul Molodowitch ***@***.***> wrote:
I think this might just be a bug in the maya exporter, rather than a flaw in the design (at least as far as Maya material assignment is concerned). ie, at an attribute level, Maya will happily let you assign two different component groups from the same shape to the same shading group... but I believe functionally it's equivalent to just having all the faces in one group. So just changing the exporter to check for this case, and then combine the face sets, should be good.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Filed as internal issue #148363. |
Cleaning up old issues, the Katana and Maya plugins have long been retired from the distribution. |
Description of Issue
If you export to USD a maya mesh that has two different component groups, both assigned to the same material, then when you try to import that USD into katana, katana will crash
Steps to Reproduce
cube_material_faceSets_crash.ma
in mayaSystem Information (OS, Hardware)
Linux
Package Versions
usd-0.7.6
cube_material_faceSets_crash.zip
The text was updated successfully, but these errors were encountered: