I seem to have a runup issue when batch rendering. The hair is static but each successive frame takes longer to render (turntable). It is getting stuck at pre-render export.
I’ve tried overriding dynRunupForBatchRender() and setting MAYA_DISABLE_BATCH_RUNUP without luck. I’m using stable build 2.10.01, 22321
I have the same problem and wasn’t able to solve it. I ended up rendering the hair not in batch mode… . This is the link to the thread over at cgsociety
I think I’ve found a way around the problem. If I remove the output curves and use MAYA_DISABLE_BATCH_RUNUP then it doesn’t get stuck at pre-render export.
So essentially my hair system is static with only the input curves (into the folicles) and a pfx node.
Not sure why the output curves cause that problem but I don’t think they are needed in the static case. Teodor, is it still worth you debugging?
Well I spoke to soon. This morning I opened up the same scene and the problem is occurring again. Rendered it three times last night and it worked fine, some sort of voodoo…!?
I’ve put together a simple scene for you. It renders fine in Maya but has all sorts of problems in maya batch.
You can see below it gets stuck at “Pre-render export”. At frame 100 it stops for 25mins!
I’m not sure if setting this in a pre-mel would work fine; I have to check… just to be on the safe side, try setting it before calling mayabatch. I’m also not sure if this is in the stable builds, or only in the nightly ones.
Yep, just verified - the check for the environment variable is only in the nightly builds; I’ve ported it to the stable branch, so it will appear tomorrow.
I actually grabbed the latest nightly but it wouldn’t load. Has something changed recently? Our last nightly was 20809 and it works fine, last nights gives this,
Error: file: Y:/RnD/jpronk/maya/scenes/mayaHairVray_export_test.ma line 6: Unable to dynamically load : L:/centralisedPlugins/3d/Release/Maya/Default/modules/2013/vray/22501_22320/
plugin/plug-ins/vrayformaya.mll
The specified procedure could not be found.
Error: file: Y:/RnD/jpronk/maya/scenes/mayaHairVray_export_test.ma line 6: The specified procedure could not be found.
I guess a solution would be to export the hair into a .vrscene file and then just include it with the Python callback, and leave the Maya batch runup alone.
In any case, can you get me a scene where the camera doesn’t update?
Just create a camera, anim the translate of the camera frame 1 to 10, set the “MAYA_DISABLE_BATCH_RUNUP” to “1”.
Now render the frame 1 to 5.
After, render the frame 6 to 10.
You will see what is wrong between the frame 5 and 6.
I am starting to install (on a shared server) the latest stable nightly (build 22419), but I don’t find those dll files, where are they ?
I’m on Windows 7-64 bit.
I see that this thread is a bit old. We are having the same problem. We are running vray 2.30.01. Will that version work with the variables set, or do we still need to get the nightly builds?