Autodesk / maya-usd

A common USD (Universal Scene Description) plugin for Autodesk Maya
770 stars 201 forks source link

[EMSUSD-1528] Support proxy shape Maya instancing #256

Open ppt-adsk opened 4 years ago

ppt-adsk commented 4 years ago

Maya instancing of proxy shape nodes is unsupported. Instancing proxy shape nodes does not draw the instanced copies in the viewport.

If this is valuable to customers, instancing of proxy shapes should be supported.

USD instancing is different and useful, but does not serve exactly the same purpose.

Code such as MayaUsdProxyShapeBase::parentTransform() does not consider the path, and simply uses the first path. StagesSubject::stageChanged() translates USD notifications to a single UFE path; if proxy shapes are instanced, we would need multiple notifications, one per path.

maxRobinot commented 3 years ago

Hello! Is there any advances on this subject ? Support for ProxyShape instancing (special duplicate) would really be great!

Or do you have any other way to draw usd in the viewport using special duplicate ? Maybe some leads to a way for me to try to patch the code to support that ?

Thanks a lot!