Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What procedure works when open a file?

4 REPLIES 4
Reply
Message 1 of 5
icapathos
272 Views, 4 Replies

What procedure works when open a file?

I have a trouble when open a file.

The more aovs I create, the more it takes time for opening a file.

I traced the logs during opening a file, and I got a result like below breifly

// Read 239 files in  77.8 seconds. //

mayaHasRenderSetup();

mayaHasRenderSetup();

mayaHasRenderSetup();  // it occurs 32639 times.

Total Time: 806.98

I think that calling "mayaHasRenderSetup()" makes time-loss after reading all references.

I find that isValidAOVNode in avos.py calls mayaHasRenderSetup commands,

AOVInterface.getAOVs() and AOVInterface.getAOVNodes() call isValidAOVNode function.

So I concluded that AOV nodes that included in the scene are related with time trouble.

I hope to know how to solve my problem.

Tags (1)
Labels (1)
4 REPLIES 4
Message 2 of 5
Stephen.Blair
in reply to: icapathos

Please post a repro scene, and can you say what versions of Maya and MtoA you are using?



// Stephen Blair
// Arnold Renderer Support
Message 3 of 5
icapathos
in reply to: icapathos

@Stephen Blair

I use Maya 2017 Update3 and MtoA 1.4.2.1

Message 4 of 5

Hello,

a very similar issue, with scene being slowed down because of the AOV nodes, was adressed recently and will be included in a future release

Message 5 of 5
icapathos
in reply to: icapathos

@Sebastien Blaineau-Ortega

Yes, I found out a reason for slowing down. It was createAliases() method in mtoa/aovs.py, so I changed that.

(It cuts down the file open time from 10 mins to 40 secs)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report