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:
but this did not seem to do anything.
any help appreciated!
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");
any help appreciated!
Comment