paulnasca wrote:I guess(i'll check the sources in future, I didn't do it ) that is done by addition like "the illumination"= "the light of the galaxy"+"the daylight". I think that it should be like this: "the illumination"=maximum of ("the light of the galaxy", "the daylight").
You're right. When adding brightness of two pixels, if p_1 is the pixelvalue of pixel no 1 and p_2 of number 2, then the calculated pixel value should be
p_tot = log(exp(p_1) + exp(p_2)).
This is much better approximated by p_tot = max(p_1, p_2) than p_tot = p_1 + p_2; however, even with this simplification, you have to think out a clever way to implement it (it's not straightforward to do it
efficiently).
/Alexis