Hi, i have problems with writing out vrscene files with correct "img_file" paths.
Right now i am using this command:
mel.eval("vrend -layer " + layer + " -camera " + camera)
My file prefix in the render settings is set to:
%s/%s
Vray always adds "tmp" at the beginning of the path, you can see an excerpt from the written vrscene file. This also happens when i do a render directly within maya, not from my script.
SettingsOutput vraySettingsOutput {
img_file="tmp/layer1/vrsceneTest/vrsceneTest.png";
img_dir="Y:/1364_xxxxx/02_WORK/03_3D/05_Maya//./../01_renders/";
Is there an argument i can use in conjunction with vrend to set the img_path?
Btw, i had a hard time finding all arguments for vrend, could not find any description in the manual. It still behaves weird, since i have to switch to the renderlayer i want to export before executing the actual vrend -layer command. Otherwise just the actual renderlayer gets rendered.
Vray Version is:
VRay nightly 2.45.01
Windows 7
Maya 2015
Thanks in advance
Right now i am using this command:
mel.eval("vrend -layer " + layer + " -camera " + camera)
My file prefix in the render settings is set to:
%s/%s
Vray always adds "tmp" at the beginning of the path, you can see an excerpt from the written vrscene file. This also happens when i do a render directly within maya, not from my script.
SettingsOutput vraySettingsOutput {
img_file="tmp/layer1/vrsceneTest/vrsceneTest.png";
img_dir="Y:/1364_xxxxx/02_WORK/03_3D/05_Maya//./../01_renders/";
Is there an argument i can use in conjunction with vrend to set the img_path?
Btw, i had a hard time finding all arguments for vrend, could not find any description in the manual. It still behaves weird, since i have to switch to the renderlayer i want to export before executing the actual vrend -layer command. Otherwise just the actual renderlayer gets rendered.
Vray Version is:
VRay nightly 2.45.01
Windows 7
Maya 2015
Thanks in advance
Comment