Elvissuperstar007 wrote:batch rendering !??????????????????????????????????? Оо does it work? and how
You need to call Octane with some arguments.
Arguments to start rendering after loading the scene.
-t node : Render a rendertarget node.
-m node : Render a mesh node. You need to give the name of the mesh node, not the filename of the OBJ file (but they are often the same). If used in combination with -t it will render this mesh instead of the mesh attached to the rendertarget.
Arguments to load an additional OBJ file.
-l file.obj : load file.obj into a new mesh node called file.obj . You can use this in combination with -m to start rendering this new node.
-r file.obj -m node : load file.obj into an existing mesh node, and render this node. This keeps the existing materials connected to this mesh node.
There are also arguments to change the camera and other settings, and to save the rendered image. Run
octane --help to view all options.
Note: overriding camera and other settings in combination with -t doesn't work in this release, it will be fixed in the next release.
Some examples:
Load an OBJ file as a mesh node, and render the newly loaded mesh (using the settings in the preview render target). Since no scene file is given it will create a new scene.
octane.exe -l "mesh.obj" -m "mesh.obj"
Load a scene, and render a render target
octane.exe "scene.ocs" -t "myrendertarget"
Load a scene, load an OBJ file into an existing mesh node and render using settings from a render target
octane.exe "scene.ocs" -t "myrendertarget" -m "meshnode" -r "mesh.obj"
--
Roeland