I have a python script that after doing certain operations issues a render command and saves the image to disk. The code lines to do that are:
The script works fine but it saves all the active channels currently selected in my VFB vray options tab as separate files.
I'd like to save only the RGB channel but I don't want to have to turn the channels off every time because I use them mostly, not so much for compositing but for checking sample rate optimization and noise caused by lights and/or materials.
Is there a different command other than -_SaveRenderWindowAs to save to disk only the RGB channel without having to disable the selected channels first?
Code:
import rhinoscriptsyntax as rs ... code ... more code rs.Command("!_Render", echo=False) rs.Command("-_SaveRenderWindowAs " + filename, echo=False)
I'd like to save only the RGB channel but I don't want to have to turn the channels off every time because I use them mostly, not so much for compositing but for checking sample rate optimization and noise caused by lights and/or materials.
Is there a different command other than -_SaveRenderWindowAs to save to disk only the RGB channel without having to disable the selected channels first?
Comment