Page 2 of 2

Posted: Thu Mar 25, 2010 11:00 pm
by Eric Walch
Frame wrote:
and are your hues settings the same as mine ?
Not according the above codes. You use 0.4 and Pagroove 1.0.
According to the colour hue table you use green and Pagroove uses red. And both get the complementary colour as it looks

Posted: Thu Mar 25, 2010 11:23 pm
by JensAyton
Eric Walch wrote:
Looking in the code I see that the sun colour is always blended with 50% whiteColour.
I think you’re looking at the sun_diffuse calculation. The discColor is calculated by reducing the saturation to 33 % in the HSV model. (The fully saturated colour is used for the specular light colour. Having the specular light more saturated than the diffuse light doesn’t actually make any sense, but there you have it.)

The coronal colours are set based on the sun colour and a “hue drift” parameter that’s generated pseudo-randomly. It currently can’t be overridden. This means that the relationship between the sun colour and the corona colour is system-dependent.

Posted: Thu Mar 25, 2010 11:45 pm
by pagroove
Ahruman wrote:
Eric Walch wrote:
Looking in the code I see that the sun colour is always blended with 50% whiteColour.
I think you’re looking at the sun_diffuse calculation. The discColor is calculated by reducing the saturation to 33 % in the HSV model. (The fully saturated colour is used for the specular light colour. Having the specular light more saturated than the diffuse light doesn’t actually make any sense, but there you have it.)

The coronal colours are set based on the sun colour and a “hue drift” parameter that’s generated pseudo-randomly. It currently can’t be overridden. This means that the relationship between the sun colour and the corona colour is system-dependent.
Ok that explains a lot :)