Page 1 of 1

Feature Request - Exposure picker. C4D script included.

Posted: Sun Aug 28, 2022 10:40 am
by SSmolak
In real camera we have auto exposure feature. I know that this is hard to implement in render engine mainly during animation where light changing during time but it can be simulate by user using exposure picker with the same way as DOF picker.

If we would have settings for minimal and maximal exposure and user pick render area RGB value ( from HSV mode ) this brightness value ( from 0-255 ) should be used to set average exposure from given exposure range. In this way we can simulate real camera auto exposure and animate it.

Re: Feature Request - Exposure picker to simulate auto exposure

Posted: Sun Aug 28, 2022 12:23 pm
by SSmolak
If someone is interested I made simple Cinema 4D XPresso for simulate real camera exposure where exposure is higher when we look directly on bigger object which is mainly in shadow ( Sun in front of us ) and exposure goes lower if we look on very bright object and Sun is behind us.

Exposure is set from 0.5 if Sun is behind camera to 2 if Sun is in front of camera.

Exposure strenght transition can be edited in Range Mapper spline.
auto_exposure.jpg
EDIT : Updated XPresso script with user interface :
auto_exposure_4.jpg
Added actual exposure information, camera to sun angle difference ( which help to set proper exposures for 0 and 180 degrees ) and input to choose Sky object.

New version : added Post Effects - they works the same way - changes strenght in relation to Sun direction.

To make it work using OGL viewport in realtime there is need to enable this icon :
octane_expression_viewport_updates.jpg
octane_expression_viewport_updates.jpg (8.26 KiB) Viewed 1545 times

Re: Feature Request - Exposure picker. C4D script included.

Posted: Thu Oct 06, 2022 11:30 pm
by ceen
Really cool! Thank youn a lot!