vray standalone flags

Hi,

I have been searching the Docs and the forums looking for a complete list of all the command line flags for vray standalone with descriptions/examples of usage.

If i run vray.exe -help I can see the list but wondering if there was anymore info on them.

Many thanks,

Richard

We do have some documentation, but it is not much more than what is listed by V-Ray standalone when you run it without parameters. Are there particular options that you need examples for?

Best regards,
Vlado

Hi Vlado.

I just want to get a better understanding of what can be controlled at a command line level so I can tweak our Render Manager (Deadline) Vray submitter.

By default Deadline submits this command:

[B]-scenefile=[/B]"X:\vrayTest\MAYA\vray\test.vrscene" [B]-interactive=0[/B] [B]-display=0[/B] -frames=1 -numThreads=0 -imgFile="X:\vrayTest\MAYA\RENDERS\test.exr" -imgWidth=7216 -imgHeight=5412

What is interactive mode? This is not RT is it? Because there is a seperate command to enable the RT engine -rtEngine.

Also it seems that the file that renders has a frame padding applied to it. The file render test.0001.exr. However it is not an animation and in Maya I did not check Animation in the Vray Common settings.

Does the fact that deadline uses the -frames command mean that vray will automatically assume it is an animation and add that to the saved file?

I will start playing with the commands locally on my workstation later to get a better understanding.

Many thanks,

Richard

When you have “-interactive mode” option enabled it allows you to edit V-Ray render settings interactively along with .vrascene submission. It opens V-Ray Render Settings Editor window where you can add or change the current settings of .vrscene file.
“-rtEngine” is the V-Ray RT option that specifies if you render with CPU or GPU engine. Please note that you need to specify the value of “3” if you want to render with GPU engine (e.g. “-rtEngine=3”)
With regard to the second question of the “–frames” option: If you render with Deadline it adds the “–frames” option by default and you need to specify even a frame in the submission window dialog.

Great thanks Zdravko.

When using the -frames option, is there a way to stop it from outputing a frame padding when it writes the file?

Thanks,

Richard

For now this won’t be possible, but we make a note about it.
Thank you for your feedback.

Thanks Zdravko.

Back playing with vray standalone commands and having an issue with distributed rendering.

When I add the -distributed=1 and -renderhost=“boston1”

The render starts but and tries to connect to the node but I get the error saying:

[2011/Oct/7|11:03:20] dr host: 192.168.10.21
[2011/Oct/7|11:03:21] warning: Could not connect to host 192.168.10.21: No connection could be made because the target machine actively refused it.
[2011/Oct/7|11:03:21] Using 0 hosts for distributed rendering.

The IP address is the correct IP for the node.

When I open maya and try the same thing. Enabling distributed rendering and render, it connects fine to that node and it is used successfully during render.

Any ideas? Have I entered it wrong in the command line? Should I be specifying what port to use?

Many thanks,

Richard

Ok looks like I needed to add the -portNumber option. Did not see that at the start of the options list. Should really be listed below the -distributed option in the vray -help list.

Also how do I find out the port number to the slave machines? To find out what it is I run distributed within Maya and in the output window it tells me the port it uses.

[2011/Oct/12|17:46:25] V-Ray: Preprocessing for distributed rendering (port 20207)!

If I was not in maya how could i find this out?

Cheers,

Rich

Is there a flag to set vray not to render on the host machine when using distributed rendering? Possible with standalone?

Thanks,

Richard

In newer builds the portNumber flag will be automatically set, so it won’t be needed.

Cool.

Thanks,

Rich

No, when using standalone the DR host machine cannot be excluded from the Distributed Rendering.
Regarding the previous question - you can find out the port number of the slave machines when you launch V-Ray render slave. The port could be changed by right-clicking on “Launch V-Ray render slave” and go to Properties. Then change the post in the target.

Ah ok. Thanks Marta.

Best,

Richard

Could be useful to know that while you can’t exclude the host machine from rendering, you can use a lower number of rendering threads with the -numThreads=N flag where N is the number of threads that you want to use on the client machine.
Best regards,
Vlado

So this would only effect the client machine and not the number of threads used on the slaves?

Thanks

Yes - it only affects the client machine.

Best regards,
Vlado

Great. Thanks Vlado.

Hi,

Has there been any update on this?

When rendering a single frame (not part of an animation) via standalone it always adds the frame number with 4 padding to the render file name and is very annoying. Can we stop it from doing this? Again in maya and the render settings it is set to a single frame. No animation settings have been set up.

We are using Build from Apr 28 2011.

We are using Deadline to submit our renders but have tested this via the command line and vray still automatically adds the frame padding when writting the file out.

It looks like maya is still passing out animation settings info in the settings.

 anim_frame_padding=4;
  anim_renumber_on=0;
  anim_renumber_start=0;
  anim_renumber_step=1;
  anim_ren_frame_start=0;

If I comment this out. The file will get written correctly. EDIT! - This does not actually fix it. I realised I was rendering via command line without the “-frames” flag. If I enable the frames flag it still renders out with the frame padding even though I commented the info out in the vrscene fil

So can we get vray to respect the settings in maya when translating the vray options?

Many thanks,

Richard

For the moment the standalone will always add the frame number if you specify the -frame option. I can add another options, -noFrameNumbers which will respect what is written in the .vrscene file.

Best regards,
Vlado