Feature Request - Exposure picker. C4D script included.

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Post Reply
User avatar
SSmolak
Licensed Customer
Posts: 1157
Joined: Sat Feb 07, 2015 5:41 pm
Location: Poland
Contact:

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.
Last edited by SSmolak on Sun Aug 28, 2022 2:48 pm, edited 1 time in total.
Architectural Visualizations http://www.archviz-4d.studio
User avatar
SSmolak
Licensed Customer
Posts: 1157
Joined: Sat Feb 07, 2015 5:41 pm
Location: Poland
Contact:

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 1540 times
Attachments
auto_exposure_post_xpresso_v2.zip
(237.71 KiB) Downloaded 112 times
Architectural Visualizations http://www.archviz-4d.studio
ceen
Licensed Customer
Posts: 113
Joined: Wed Jun 10, 2015 9:43 pm

Really cool! Thank youn a lot!
3080ti
Post Reply

Return to “General Discussion”