Hi,
I'm setting the following in Maya 2018.1 on Windows 10:
1. EXR is written although "Don't render final image" is enabled
Although I just want to render out the vrlmap, the multichannel EXR is also written out (V-Ray 3.60.02). Do you see this on your end too?
It would be great if the EXR was not written.
2. Did the autosave attribute name change?
With the code snippet above, vrlmaps are generated as expected. But I notice that when setting vraySettings.autoSaveFile like above, the filepath is not visibly entered into the render globals UI. If I edit this attribute in the render globals UI by hand (not by code) I see the following being outputted to the script editor:
- and so it seems this attribute name has changed from "vraySettings.autoSaveFile" to "vraySettings.lc_autoSaveFile". Is this correct? Should I be using vraySettings.lc_autoSaveFile instead of vraySettings.autoSaveFile?
- Do you know for which V-Ray for Maya version this was changed?
I'm setting the following in Maya 2018.1 on Windows 10:
Code:
import maya.cmds as cmds import maya.mel as mel vrlmapFilepath = '//server/prod/proj2/maya/images/scene83/pre-render/vrlmap_per_frame_renderlayer1_camera1.%04d.vrlmap' cmds.setAttr('vraySettings.primaryEngine', 3) # Set Light cache (primary engine) cmds.setAttr('vraySettings.secondaryEngine', 0) # Disable secondary engine alltogether cmds.setAttr('vraySettings.mode', 0) # Set light cache mode to Single frame cmds.setAttr('vraySettings.autoSaveFile', vrlmapFilepath, type='string') # Set path to vrlmap file cmds.setAttr('vraySettings.autoSave', 1) # Enable autosave of vrlmap file cmds.setAttr('vraySettings.globopt_gi_dontRenderImage', 1) # Disable final image rendering cmds.setAttr('vraySettings.sys_distributed_rendering_on', 0) # Disable DR
1. EXR is written although "Don't render final image" is enabled
Although I just want to render out the vrlmap, the multichannel EXR is also written out (V-Ray 3.60.02). Do you see this on your end too?
It would be great if the EXR was not written.
2. Did the autosave attribute name change?
With the code snippet above, vrlmaps are generated as expected. But I notice that when setting vraySettings.autoSaveFile like above, the filepath is not visibly entered into the render globals UI. If I edit this attribute in the render globals UI by hand (not by code) I see the following being outputted to the script editor:
Code:
setAttr -type "string" vraySettings.lc_autoSaveFile "test.vrlmap";
- Do you know for which V-Ray for Maya version this was changed?
Comment