maya-usd icon indicating copy to clipboard operation
maya-usd copied to clipboard

[EMSUSD-708] Thousands of instanceable models makes transform operation very slow.

Open frankchen211 opened this issue 1 year ago • 9 comments

Describe the bug When I have a usd stage with thousands of instanceable models loaded into maya, and try to transform one of the model, the operation is very slow and have following errors:

// Error: line 1: 'lead' is an unknown RGB display color name // 
// Error: line 1: 'polymeshDormant' is an unknown RGB display color name // 
// Error: line 1: 'templateDormant' is an unknown RGB display color name // 
// Error: line 1: 'templateActive' is an unknown RGB display color name // 
// Error: line 1: 'referenceLayer' is an unknown RGB display color name // 

To make the operation smooth, I have to disable the instanceable option, or deactivate lots of prims.

Specs (if applicable):

  • OS & version: Rocky Linux 8.7
  • Maya version: Maya 2022
  • Maya USD: 0.23.0, 0.24.0

frankchen211 avatar Aug 11 '23 03:08 frankchen211

@frankchen211 would you be able to share a sample file of what you are seeing? while we have made improvements on displaying stages with instances, there are always use cases that can still be improved.

we have made changes to the warning/error messages, in order to try and improve performance by grouping similar errors instead of writing every single error line - hopefully that helps.

i will try to build something from scratch to reproduce, but having a sample file would be very helpful on establishing a baseline.

santosg87 avatar Aug 16 '23 14:08 santosg87

@santosg87 Sorry for the late reply, here's the example files: test_instance_set.zip All referenced geometries are the USD's basic primitives..

frankchen211 avatar Aug 21 '23 02:08 frankchen211

thank you! I will investigate a bit deeper and see what we can find. :)

cheers!

santosg87 avatar Aug 21 '23 13:08 santosg87

Hi @santosg87 any updates on this issue? I have tried the latest mayausd v0.25.0, this issuse is still there.

frankchen211 avatar Oct 16 '23 06:10 frankchen211

Hi @frankchen211, Thank you for providing the scene file. I took a look and was able to reproduce the issue in our latest cut. I am going to log this issue internally to have the team take a look. Thank you for reporting this issue. The errors seems to be related to a different issue and those have been resolved in my cut, but the performance is still slow.

santosd avatar Oct 17 '23 14:10 santosd

I logged this issue internally as EMSUSD-708, the team will take a look and see what we can do.

santosd avatar Oct 17 '23 15:10 santosd

Thanks!

frankchen211 avatar Oct 21 '23 01:10 frankchen211

Issue synced internally to EMSUSD-799

maya-usd-git-sync[bot] avatar Nov 08 '23 15:11 maya-usd-git-sync[bot]

Hi @frankchen211, This issue has been fixed internally and should be in the next release of Maya USD. However, if you would like to test it out prior to the release, feel free to build the latest code from github. Let me know if you run into any issues when you are able to test it.

santosd avatar Mar 04 '24 18:03 santosd