Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below is a list of the command-line parameters for V-Ray Standalone. You can use the VRAY_CMD_PREFIX and VRAY_CMD_SUFFIX environment variables to specify additional command-line parameters – see the V-Ray Standalone Environment Variables page. If you run V-Ray Standalone without any parameters, it will also print a short help text with descriptions of each possible option. Portions of the options in square brackets [] are optional and portions in curly braces {} can be repeated zero or more times.

See the Getting Started with Commands page for practical examples to get you started. 

 

System Options

...

-help – Prints out a list of all the available command lines and their usage.

...

-rtSampleLevel=nnn – Specifies maximum number of paths per pixel for a frame when using the RT engine. The default is 0, no limit.

 

Distributed Render

...

Server

-server   – Start in server mode waiting for connections.

-autoCloseIfIdle=n – Specifies the minutes the server will wait in idle state before closing itself. A value of 0 means this feature is disabled, otherwise it is the idle time in minutes.

 

Client

-distributed=0/1/2  – Specifies whether and how to use distributed rendering:

...

-renderhost="host{;host}"  – A semicolon separated list of hosts to use for distributed rendering. Hosts can be specified either as computer names or by IPs. More than one one -renderhost options  options can be specified.

-portNumber=n – Specifies the port number to use for distributed rendering. The port numbers of the render servers and the render client must match for DR to work. The port can also be overridden using the VRAY_DR_CONTROLPORT environment variable. This command line option overrides the environment variable. The default is 20204-transferAssets=0/1/2  – Specifies whether missing assets should be transferred to the DR servers:

0 – Do not transfer.
1 – Transfer missing assets.
2 – Check for assets in the asset cache folder before transferring them. The The VRAY_ASSETS_CACHE_PATH environment  environment variable can be used to specify the asset cache folder; if it is not specified, the assets are stored in a directory "vray_assets_cache" inside the temp folder for the current user.

...

-cachedAssetsLimitValue=fff – Specifies limit value for a cached assets. fff is  is a floating-point number representing the value. The meaning of the value depends on the the -cachedAssetsLimitType parameter parameter. The default value is 0.0.

-overwriteLocalCacheSettings=0/1 - Specifies which settings for asset cache limitations to be taken into account.

...

-limitHosts=N – Limits the number of render hosts used for distributed rendering to the first first N idle  idle hosts specified in the the -renderHost options options. The default value is 0 - use all available hosts. 


Common

-autoCloseIfIdleportNumber=n – Specifies the port number to use for distributed rendering. The port numbers of the render servers and the render client must match for DR to work. The port can also be overridden using the VRAY_DR_CONTROLPORT environment variable. This command line option overrides the environment variable. The default is 20204.

  the minutes the server will wait in idle state before closing itself. A value of 0 means this feature is disabled, otherwise it is the idle time in minutes.