Yep, sounds about right.

For things to run faster, you can either do no drawing, do less complex
drawing, have less nodes to draw or implement it using C++. I've banged my
head on this a few times as well, and I wish there was a better answer. :(

With regards to parallel evaluation; that doesn't apply here because (1)
drawing always happens in the main thread and (2) Python nodes cannot be
parallelised. In fact, if you include a Python DG node somewhere in a
dependency graph, Maya will kindly go ahead and disable parallel evaluation
for that branch.

On Thu, 19 Sep 2019 at 11:48, Rémi Deletrain <remi.deletr...@gmail.com>
wrote:

> Hi everyone,
>
> I make a custom transform in python.
> In  my scene I have 111 of it. Before that my scene turn to 50Fps and now
> she turn to 16 Fps.
> I take the api documentation file
> <http://help.autodesk.com/view/MAYAUL/2018/ENU/?guid=__cpp_ref_rocking_transform_2rocking_transform_8h_example_html>for
> create my custom transform.
>
> This loss of frame rate is from python code ?
> For use parallel evaluation I need to add code ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/eec106c5-085a-436d-8181-4cfc2c8c180b%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/eec106c5-085a-436d-8181-4cfc2c8c180b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCdCWBQvfmBi80dsG2b2r2BAwCfvBtCcisMDmi_rt7KPw%40mail.gmail.com.

Reply via email to