Square Enix © Goodbye Kansas

Table of Contents


Overview


vrend is the main V-Ray rendering command. It can be used for rendering and export of a .vrscene file. 

You can use the vrend command with both MEL and Python. For the purpose of the documentation, the examples below are written in MEL. 


Syntax



OptionDescription
-cameraPerforms rendering (or export if the translator settings are adjusted only for .vrscene export) by choosing a given camera. Uses the camera in quotes after the flag (e.g. -camera "persp1"). Note that the camera must be renderable to be listed.
-multiCameraPerforms .vrscene export when the translator settings are adjusted accordingly, with multiple cameras. Note that this command cannot be used for IPR or production rendering. Uses only the cameras listed in quotes after the flag (e.g. -multiCamera "persp persp1"). Empty string will be treated as all renderable cameras. Note that the camera must be renderable to be listed.

-help

Prints the vrend command and flags usage.


Examples


Exports a .vrscene file with one camera from the list of cameras, called "persp1".

vrend -camera "persp1";


Exports a .vrscene file with two cameras from the list of cameras, called "persp1" and "persp2".

vrend -multiCamera "persp1 persp2";