batch submit to an iray server
extraneux
Posts: 23
Does anyone know of a way to submit a batch of files to an iray server? Even though my iray server is a second local computer it can take several minutes per submission through iray bridge and I'd like to find a way so that I don't have to sit there and wait. Something along the lines of ManFriday's render queue 3 but it sends the job to the iray server.
Comments
You can use a script to automate rendering processes, this is a starting point http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/rendering/render_iray_server/start
I don't think you can do it directly without using a different API and then you'll run into issues with the DAZ scene file, which you'd have to parse and then refactor into something that the iRay Server understands, as well as having to have access to all the referenced assets. What the DAZ iRay Server Bridge does for you is all that intermediate work of taking a DAZ scene file and packaging it in a format that the iRay Server understands.
Actually batching up a group of scene files is doable in a script. The sample script Richard pointed to is a good starting point. What it can't do, unfortunately, is solve the issue of the scene taking a long time to go between Daz and the iRay server over the Bridge. I haven't run into an issue where any scene takes more than 15-30 seconds, so it may be a combination of the complexity of your scene and your hardware? Maybe?