|
Hello,
I want to execute a script before rendering my scene on the farm by setting a prerender script. While rendering the job locally or send it manually to the farm everything works fine.
When I try to send the job to the farm via maxscript the prerender script is not executed. I can’t understand why it doesn’t work. Did I forget something?
Thank you!
oNetRenderManager = NetRender.GetManager()
oNetRenderManager.connect #manual "bb_manager"
oSimulationJob = oNetRenderManager.newJob()
oSimulationJob.priority = 25
oSimulationJob.fromFrame = 0
oSimulationJob.toFrame = 0
oSimulationJob.outputWidth = 800
oSimulationJob.outputHeight = 600
oSimulationJob.renderCamera = "RenderCam"
bResult = oSimulationJob.submit()
oNetRenderManager.disconnect()
|
|
|
|
I tried another solution by setting a persisten prerender callback. Again the same problem. Locally no problems, but it doesn’t work on the farm.
|
|
|
|
Finally I found a solution. I saved a script in the startup folders of the render slaves which sets a prerender callback.
|
|
|