maya-usd
maya-usd copied to clipboard
[EMSUSD-708] Thousands of instanceable models makes transform operation very slow.
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 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 Sorry for the late reply, here's the example files: test_instance_set.zip All referenced geometries are the USD's basic primitives..
thank you! I will investigate a bit deeper and see what we can find. :)
cheers!
Hi @santosg87 any updates on this issue? I have tried the latest mayausd v0.25.0, this issuse is still there.
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.
I logged this issue internally as EMSUSD-708, the team will take a look and see what we can do.
Thanks!
Issue synced internally to EMSUSD-799
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.