net-lisias-ksp / DistantObject

Distant Object Enhancement (DOE) is a visual enhancement mod that makes objects realistically visible over large distances.
Other
10 stars 3 forks source link

Delay the dimming, as it happens due pupil dilatation. #26

Open Lisias opened 1 year ago

Lisias commented 1 year ago

Fellow Kerbonaut InterstellarDrifter suggested to make the dimming gradual:

[a] way to delay dimming time between transitioning to better simulate physical human pupil acclimation

Sounds like a good idea.

I will need to build a "thread" that will receive the current dimming value, and then the thread will change the dimming for up or down slowly. New dimming "commands" should abort the process and start a new one towards the new value.

This is the easy part.

The "hard" part is research to understand how human pupils reacts to light. Sounds like fun! :)

InterstellarDrifter commented 1 year ago

Hey, AWESOME news! Sounded like a simple enough effect. But, of course most of us know, just because it sounds easy, don't mean nothin. Lol. I appreciate your time and consideration of the idea.