Hi all
From a user input I set the raw vrimg file, then I use the dir and filename part of that file to also set the split channels, it saves the vrimg file but it does not save the split channels
If however I keep the name I set for the channels, and merely click on browse and then ok and render, it DOES save the files?!?
What am I missing here?
From a user input I set the raw vrimg file, then I use the dir and filename part of that file to also set the split channels, it saves the vrimg file but it does not save the split channels
Code:
RAWFile = getSaveFileName caption: "Save V-Ray image file" \ filename: "C:/_VRay RAW Renders/" \ types:"V-Ray image files (*.vrimg)|*.vrimg" if RAWFile!=undefined then ( renderers.current.output_saveRawFile=true renderers.current.output_splitgbuffer=true renderers.current.output_rawFileName = RAWFile RAWSplitChannelFile = (getFilenamePath RAWFile) + (getFilenameFile RAWFile) + (getFilenameType "*.exr") renderers.current.output_splitfilename = RAWSplitChannelFile max quick render )
What am I missing here?
Comment