Announcement

Collapse
No announcement yet.

Maya nHair super slow in batch render (pre-render export)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Maya nHair super slow in batch render (pre-render export)

    I have a scene with a character with Maya nHair that is getting stuck at the pre-render export stage.
    to troubleshoot this, I have paired down the scene so it renders in 8 seconds in the VFB.
    However in a batch render it gets slower the longer the frame range is set for.

    If I render 1 frame is takes 40 seconds to start.
    If I render 1-50 this goes up to 1 min 40 sec
    If I render 1-300 it goes up to 8 min 40 sec

    On the more complex scene (before I paired it down for testing) with more lights and textures, the runup times for a 300 frame sequence were getting up to an hour before it began rendering, so it poses a significant hit.

    Rendering in a shell I can see it is hanging at the pre-render export stage. If I delete the nHair from the scene it starts up immediately, so I am concluding that this has to do with nHair specifically.

    Thinking the problem was the dynamics, I tried killing the dynamics (I deleted the nucleus, set the hair to "static," and deleted the output curves). This did help, but the issue still persists. The above times are all on a scene with out dynamics on the hair.

    Digging around the forums here, I tried adding this to code to the pre-render mel:
    Code:
    putenv("MAYA_DISABLE_BATCH_RUNUP","1"); global proc dynRunupForBatchRender() {}; print("Disable runup done.\n");
    but this did not seem to do anything.

    any help appreciated!

  • #2
    What version of VRay are you using? And do you use distribute rendering or just the local machine?
    V-Ray/PhoenixFD for Maya developer

    Comment


    • #3
      it not only happens with batch render to image but also with batch export to vrscene. render progress is thinking(?) very very long before actual render starts. at this stage usually cpu usage is at its minimum core. i also don't know why the frame range has anything to do with render performance per frame, but it does affects rendering. even export takes longer per frame. i haven't found any answer for these issues yet. i hope to find some clues here.

      Comment


      • #4
        Originally posted by ivaylo.ivanov View Post
        What version of VRay are you using? And do you use distribute rendering or just the local machine?
        This a local render, not distributed. The version is Vray 2.3 for Maya 2013.

        Comment


        • #5
          Hi,

          Would it be possible to send us the scene for further investigation?
          If you send us an email (support@chaosgroup.com) we can provide you with our FTP server. Just don't forget to include this thread as a note.
          Tashko Zashev | chaos.com
          Chaos Support Representative | contact us

          Comment


          • #6
            We have this fixed in the nightly builds.
            Tashko Zashev | chaos.com
            Chaos Support Representative | contact us

            Comment

            Working...
            X