often, when we will work in some scene (especially interior) we often use “Isolate” button to isolate our model, during the shading task.
And, usually, we work with high exposure value.
But, when we press “ISOLATE” (to speed up the shading process and rendering), the scene is extremely bright;
so, we must to change, manually and every time, the exposure parameter from ISOLATE top CAMERA view
And, we do this MILLION times during our working days.
So, my idea is to create a new parameter (Isolate exposure) who is able to change automatically the exposure when we are in “ISOLATE” mode.
I used to have this issue in a previous version of max. When isolating objects max used to change from the already set up camera view into the perspective view. So in the viewport it all looked fine, but when you hit render it would render the perspective view and therefore not use the exposure settings that had already been set up on the camera.
Really annoying when you don’t spot it a render it overnight!
compensateValue = 5 /* <<< put your value here */
if not IsolateSelection.IsolateSelectionModeActive() and selection.count > 0 then (
IsolateSelection.EnterIsolateSelectionMode()
renderers.current.colorMap_simpleExposure -= compensateValue
) else (
IsolateSelection.ExitIsolateSelectionMode()
renderers.current.colorMap_simpleExposure += compensateValue
)
that’s if you change your exposure value in rendersettings after going to isolate mode
cam = viewport.getcamera()
compensateValue = 5 /* <<< put your value here */
if cam != undefined do (
if not IsolateSelection.IsolateSelectionModeActive() and selection.count > 0 then (
IsolateSelection.EnterIsolateSelectionMode()
if cam.modifiers[#CoronaCameraMod] != undefined do cam.modifiers[#CoronaCameraMod].simpleExposure -= compensateValue
) else (
IsolateSelection.ExitIsolateSelectionMode()
if cam.modifiers[#CoronaCameraMod] != undefined do cam.modifiers[#CoronaCameraMod].simpleExposure += compensateValue
))
and that’s if you change exposure via Override Simple Exposure in your active camera CoronaCameraMod modifier
any of the above can be turned to macro but you have to define a ‘compensateValue’ that fits you first
i couldn’t understand where do you set your exposure value actually?
Your script is perfect for PRO user! But, we must to create two macros and edit it for every project.
I mean, it will be better to have something inside the Corona UI, maybe inside System Settings.
I don’t know, an “ISOLATE Exposure Compensation” parameter (+3x or -3x)
When we are in ISOLATE mode (it doesn’t matter if we are in ISO or Simple exposure, if we have or not CoronaCameraMode)
Corona automatically will add or will remove this “3x” compensation.
I wanted this parameter also in V-Ray. I think it can help our workflow a lot.
Look at the last great Ludvik tutorial: he changed exposure >20 times! ^__^.
I really dont see that as solution - too obscure and hacky. But what about a checkbox “automatic exposure”? That would work in similar way to digital cameras
Yes, why not? =) For me, this option it should be useful only during a shading process. But, maybe, an automatic exposure can be interesting also for a production animation.
BTW, in my opinion, “Exposure compensation spinner” for ISOLATE OPTION is different than "Automatic exposure checkbox ".
(*) With Exposure compensation spinner, I will select the EXACT compensation value that I want, that I need when I’m working during the shading process. (like the Jahman script)
(*) With Automatic exposure, I think, Corona will decide the correct exposure for me. Maybe it can be good, maybe not.
And, I would like to save these parameters inside the 3ds max Scene. That’s why a script it not the best solution.