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

Allow mayaUSDImport command to import point instancer to maya instancer #3391

Open
BigRoy opened this issue Oct 16, 2023 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@BigRoy
Copy link
Contributor

BigRoy commented Oct 16, 2023

Is your feature request related to a problem? Please describe.

Currently there seems to be no import translator functionality for a USD Point Instancer.
Additionally, even though you can "Duplicate as USD data" from a maya instancer you cannot convert back with "Edit as Maya data"

Describe the solution you'd like

Allow instancer to be converted with its prototypes to maya data, preferably also supporting animated point data.

Describe alternatives you've considered

Potentially a custom import chaser for mayaUSDImport or register a custom USD translator which would also allow the Edit as maya data functionality.

However, from a Maya perspective I'm still not sure how trivial that'd be since I don't know what nodetypes/datastructures are available to maya to have time samples point data with e.g. attributes, etc. that can be saved/embedded with the maya scene file.

Also, I believe custom USD import translators are C++ only?

Additional context

I assume the lack of this is mostly due to Maya's native tools to be lacking in regards to the Instancer (and its editability) of just point data that can also be animated since I believe by default there's no data structure in which one can interactively add/remove points with transforms easily other than particles which aren't meant for manual editing. MASH does provide some tools, but those as far as I know would still disallow trivial storage for animated data local to the scene.

@BigRoy BigRoy added the enhancement New feature or request label Oct 16, 2023
@swillisart
Copy link

I agree. Points ideally would be translated as a nParticles with attributes per-particle and an alternative option for maya locators with attributes.

@BigRoy
You can author an import chaser via python here: #1909

@BigRoy
Copy link
Contributor Author

BigRoy commented Oct 17, 2023

Points ideally would be translated as a nParticles with attributes per-particle and an alternative option for maya locators with attributes.

I'm not sure I'd totally agree since as far as I know there's no way for nParticles to storage point data per frame within the scene - as such the import would not be able to import animated particle data. If you know of a Maya node that is capable of storing that without requiring e.g. XML cache files on disk I'd be happy to learn about it and prototype a Python Import chaser.

@maya-usd-git-sync
Copy link

Issue synced internally to EMSUSD-832

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Needs triage
Status: Needs triage
Development

No branches or pull requests

2 participants