Edit: With a quick experiment, a cosThreshold value of 0.08 at Reorte seems pretty ok. That should cover also most of the rest of the large planets.

Moderators: winston, another_commander
Code: Select all
float cosThreshold = -1.333333e-6 * atmRadius / 10 + 0.17333333;
Code: Select all
float cosThreshold = -1.11055807437937e-7 * atmRadius + 0.1511346252;
Thanks. I'll try it at some other planets, likely Diso, Tionisle, Isionor, Leesti and Ontiat.another_commander wrote: ↑Thu May 21, 2020 3:11 pmI think I got this one that looks good for the three sizes I tried: Ra, Lave and Reorte. You can try giving it a go if you want:
Yeah, I noted the e-7 rather than e-6 (I'd tried that also).another_commander wrote: ↑Thu May 21, 2020 3:11 pmcosThreshold varies from 0.12 (Ra) to 0.08 (Reorte). Note that we are not dividing radius by 10 with this one.
Code: Select all
vec3 fresnel = vec3(pow(1.1 - (NdotV * 0.31831), kFresnelExponent));
<I tried to PM, but it seems the system is a bit off for now -- sorry for the noise here>gizmo wrote: ↑Mon May 18, 2020 4:05 pmYeah, that would be great as I haven't managed yet to compile Oolite on my system (Slackware Linux with Plasma 5).Redspear wrote: ↑Mon May 18, 2020 11:48 amFair enough, I'll give that a go.another_commander wrote: ↑Mon May 18, 2020 10:59 amI think that releasing a binary would go a long way to enabling more extensive testing. Just a zip file with the oolite.app and AddOns folders should be all that is needed.
Seems to work well. Here it is at Ontiat (a little bigger than Reorte)another_commander wrote: ↑Thu May 21, 2020 3:11 pmI think I got this one that looks good for the three sizes I tried: Ra, Lave and Reorte. You can try giving it a go if you want:cosThreshold varies from 0.12 (Ra) to 0.08 (Reorte). Note that we are not dividing radius by 10 with this one.Code: Select all
float cosThreshold = -1.11055807437937e-7 * atmRadius + 0.1511346252;
Redspear wrote: ↑Thu May 21, 2020 2:58 pmCode: Select all
float cosThreshold = -1.333333e-6 * atmRadius / 10 + 0.17333333;
Code: Select all
float cosThreshold = -1.333333e-6 * atmRadius / 10 + 0.17333333;
Not in my build.Commander_X wrote: ↑Sat May 23, 2020 12:51 amQuick question -- is the sun expected to have the size like in the another_commander's screenshot below ?
That's the size you get without either of the the oxps being active.Commander_X wrote: ↑Sat May 23, 2020 2:50 amStrange, either "Modest" or "Plus" oxp dropped over a self-build (nightly) show that type of sun.