-
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
Maya usdExport when the top node is locator #129
Comments
Hi Belal, Perhaps relatedly, someone had contacted us about the fact that locators do not round-trip, since they come back in as regular transforms, and also that they have no visual representation in usdview. I don't think we have any open tasks for that, though... |
Hi Sebastian, |
It turned out that usdExport is not writing a proper Xform type in the transform path definition when exporting the usd, then usdImport just ignores this transform node that didn't have a type. The usd in case of a group appears like this: The same usd in case of a locator: so, usdImport cannot know what should it do with the undef type of the path locator1, in usdview and pxrUsdIn in katana, this undef locator is assumed a transform then the hierarchy look correct, but not in maya. |
Hi Belal,
Thanks for digging in further on this! We think there are a few
different issues here:
1. Our scene processing is not handling locators properly in some scenarios,
resulting in the "typeless def"
2. Our importer does not yet properly handle "unknown prim types". The plan
we'd discussed awhile back is to create proxy/pass-through nodes in Maya for
them, but we've yet to implement it.
3. We also don't properly round-trip locators in Maya, since when we dp
export them at all, it is currently as simple Xforms
We are working on #1 for now, which should resolve the issue you are seeing.
Cheers,
spiff
…On 12/30/2016 08:50 AM, BSalem wrote:
It turned out that usdExport is not writing a proper Xform type in the
transform path definition when exporting the usd, then usdImport just
ignores this transform node that didn't have a type.
So, this is either a bug in usdExport where it should set a type on the
node path when exporting, or usdImport should assume the undef type as
Xform, then create a group (or would be better a locator) accordingly.
The usd in case of a group appears like this:
def Xform "group1" (
....
The same usd in case of a locator:
def "locator1" (
....
so, usdImport cannot know what should it do with the undef type of the path
locator1, in usdview and pxrUsdIn in katana, this undef locator is assumed
a transform then the hierarchy look correct, but not in maya.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#129 (comment)>,
or mute the thread
<https:/notifications/unsubscribe-auth/AF7qaNOB9Zk4WI-G3MIeRCE-g9fWGn5_ks5rNTZFgaJpZM4LWzhC>.
|
Filed as internal issue #141760. |
Description of Issue
usdExport in maya is respecting all the selected object hierarchy groups till the root top node and stops evaluating when it finds a locator as a parent, then this is not written out which all wonderful that it assumes that this locator is an asset container or placer that shouldn't be written out.
I just have a suggestion here to add a flag to usdExport that tells whether or not a locator should be treated as group.
Steps to Reproduce
or
System Information (OS, Hardware)
Package Versions
Build Flags
The text was updated successfully, but these errors were encountered: