This page provides information on setting up a V-Ray render service.

 

Page Contents ×

Overview


V-Ray render actively listens for Distributed Rendering requests at all times. Both the V-Ray Next and V-Ray GPU render servers can be set up to run automatically when Windows boots. 

Distributed Rendering can also be performed on demand without registering as a service. For more information, see Set Up Distributed Rendering page.


Register V-Ray render servers as service


 

 

You can register the V-Ray spawner service so that it runs automatically on Windows boot from the Windows Start > Programs > V-Ray Next for 3ds Max #### > Register as a service the V-Ray spawner for 3ds Max ####.

 

When registering the V-Ray DR spawner for 3ds Max as a service it will always ask for a Username and Password. This means that additional commands need to be added if you want to do that on multiple machines through an unattended install. There are two different approaches:

 

 Add "-quiet" to the command line - this will install the service from the Local Service Account and won't ask for username/password. Then you will need to set a real user for the VRaySpawner#### service to use it.

Example: "C:\Program Files\Autodesk\3ds Max ####\vrayspawner####.exe" -service -quiet


#### is the version number of your 3ds Max. 

 

You can register the V-Ray GPU render server as a Windows service so that it runs automatically on Windows boot from the Windows Start > Programs > V-Ray Next for 3ds Max #### > Register as a service the V-Ray GPU render server for 3ds Max ####.

It is possible to use V-Ray GPU as a Windows service only with a CUDA-capable GPU with appropriate drivers. For more information, see Set Up V-Ray GPU page.

 

When registering the V-Ray GPU DR server for 3ds Max as a service it will always ask for a Username and Password. This means that additional commands need to be added if you want to do that on multiple machines through an unattended install. There are two different approaches:

 Add "-quiet" to the command line - this will install the service from the Local Service Account and won't ask for username/password. Then you will need to set a real user for the VRayStdSpawner service to use it.

 

Example: "C:\Program Files\Chaos Group\V-Ray\3ds Max ####\bin\vraystdspawner.exe" -service -quiet

 

#### is the version number of your 3ds Max. 

 



In order for the spawner to work properly, you need to run at least one regular network render job with BackBurner on the render slave.

 

Add params "-username=..." and "-password=..." (without the quotes) to the command line - this will try to use the supplied username/pass to register the service.

 

Note

- if the user name or password contains spaces it must be in quotes. For example: -username="John Smith"
- If the user is part of a domain - it must contain the domain too: -username="DomName\John Smith".
- If the log file for the spawner (located in %temp%) contains messages like:


*** ALERT! Couldn't create service: The account name is invalid or does not exist, or the password is invalid for the account name specified.

and there is no domain you could try adding ".\" to the user name: -username=".\John Smith"


Mapped Drives and UNC Paths for Texture Maps and Other Rendering Assets

If you are using mapped drives or UNC paths for your rendering assets, you should set up Log On account for the V-Ray spawner service, otherwise, the textures or any other external assets won't be accessible. To set up the Log On account, open the "Services" applet from the Control Panel (Control Panel > Administrative Tools > Services) and find "VRaySpawner ####" service, then with the right mouse click expand the drop-down menu and choose Properties. Go to “Log On” tab and instead the default "Log on as local system account" choose "This account" and put there the account that has adequate privileges on the machine and access to the shared resources over the network.

Alternatively, you can use the automatic asset transfer mechanism of V-Ray as described above to send the required assets from the client machine to the render servers.