When rendering separate render channels with a batch script the gamma settings are not applied to the output (tif in this case)
If i render within 3dsmax the gamma is applied to the output images just fine.
I set all the settings with maxscript '-script' argument.
I'm not quite sure how to apply the gamma to the output. here is an example:
Now i can set
But it will not use the gamma settings stored in 'MyBitmap'
The '.output_splitbitmap' requires me to 'save' first which does not work in my case since it's a pre-render script.
What am i missing?
If i render within 3dsmax the gamma is applied to the output images just fine.
I set all the settings with maxscript '-script' argument.
I'm not quite sure how to apply the gamma to the output. here is an example:
Code:
OutputPath = "C:\\temp\\File.tif" MyBitmap = Bitmap renderWidth renderHeight filename:OutputPath gamma:2.2
Code:
renderers.current.output_splitfilename = MyBitmap.filename
The '.output_splitbitmap' requires me to 'save' first which does not work in my case since it's a pre-render script.
What am i missing?
![smile](https://forums.chaos.com/core/images/smilies/smile.gif)
Comment