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

manual usd export affects the presence of GeomSubsets in the file #3825

Open
p0las opened this issue Jun 17, 2024 · 0 comments
Open

manual usd export affects the presence of GeomSubsets in the file #3825

p0las opened this issue Jun 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@p0las
Copy link

p0las commented Jun 17, 2024

Describe the bug
depending on how the export from maya is performed the resulting UDS file may or may not contain GeomSubsets with identical export settings. There seems to be no way to control it and it is not saved to the maya scene but only persists in the session.

Steps to reproduce

  1. start fresh maya session, create a poly cube and use mel/python to export to USD. The file will contain each face as GomSubset
  2. export the same sphere using the menu file->export with the same settings.
  3. run the exact same mel/python as in point 1. The resulting USD will have no GeomSubsets this time.

file -force -options ";exportUVs=1;exportSkels=none;exportSkin=none;exportBlendShapes=0;exportDisplayColor=0;;exportColorSets=1;exportComponentTags=1;defaultMeshScheme=none;animation=0;eulerFilter=0;staticSingleSample=0;startTime=1;endTime=1;frameStride=1;frameSample=0.0;defaultUSDFormat=usdc;parentScope=;defaultPrim=GEO;shadingMode=useRegistry;convertMaterialsTo=[];exportRelativeTextures=automatic;exportInstances=1;exportVisibility=1;mergeTransformAndShape=1;stripNamespaces=0;worldspace=0;excludeExportTypes=[]" -typ "USD Export" -pr -es "C:/temp/geo.usd";

Expected behavior
python/mel export that provides all settings for the exporter should not be affected by some global session variable and should generate identical USD each time.
an option to include GeomSubsets would be a welcome addition as in most cases we do not want them.

Attachments
demonstration: youtube

Specs (if applicable):

  • Windows 10
  • maya 2024
  • USD plugin 0.27.0 and 0.28.0
@p0las p0las added the bug Something isn't working label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants