Feature Request - Exposure picker. C4D script included.

Forums: 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

Feature Request - Exposure picker. C4D script included.

Postby SSmolak » Sun Aug 28, 2022 10:40 am

SSmolak Sun Aug 28, 2022 10:40 am
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
Licensed Customer
 
Posts: 1095
Joined: Sat Feb 07, 2015 5:41 pm
Location: Poland

Re: Feature Request - Exposure picker to simulate auto exposure

Postby SSmolak » Sun Aug 28, 2022 12:23 pm

SSmolak Sun Aug 28, 2022 12:23 pm
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 1144 times
Attachments
auto_exposure_post_xpresso_v2.zip
(237.71 KiB) Downloaded 81 times
Architectural Visualizations http://www.archviz-4d.studio
User avatar
SSmolak
Licensed Customer
Licensed Customer
 
Posts: 1095
Joined: Sat Feb 07, 2015 5:41 pm
Location: Poland

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

Postby ceen » Thu Oct 06, 2022 11:30 pm

ceen Thu Oct 06, 2022 11:30 pm
Really cool! Thank youn a lot!
ceen
Licensed Customer
Licensed Customer
 
Posts: 107
Joined: Wed Jun 10, 2015 9:43 pm

Return to General Discussion


Who is online

Users browsing this forum: No registered users and 22 guests

Sat Apr 27, 2024 12:20 am [ UTC ]