Page 2 of 2

Re: Reducing object load and voxelization times

Posted: Sat Jan 12, 2013 10:52 am
by JimStar
brue wrote:An 8 minute load time for a standard scene is rather heavy, especially when the process could in theory be sped up by an order of magnitude by threading.
No, it is impossible before Maya will make all its scene objects threadsafe. At the time - it is not the case ("DG access is generally not threadsafe" is even stated in Maya's SDK reference), and it is impossible to e.g. translate one Maya node in one thread and at the same time translate another node in another thread (even if the node is only being "read", maya does writes to common memory even in this case)... Maya will crash immediately.
I would have already done the multithreaded translation a long time ago if working with Maya objects were threadsafe...

Re: Reducing object load and voxelization times

Posted: Sat Jan 12, 2013 5:35 pm
by brue
"Even query methods may occasionally be unsafe as their classes may store internal state that is modified by the query."

#%$$#

I remember running into this 5 years ago, I thought it would have been fixed by now.

A clear concise answer thank you JimStar. Time to go build an overclocked preview rig then... and lobby autodesk to quit being dumb asses.

On another note Jimstar love the plugin.