Oolite Dev 1.91 looks good and works well except when I try to display images when docked.
The images seem washed out compared to the vibrant colours of Oolite 1.90:
Oolite 1.90 image:
Oolite 1.91 image:
The js code (from my Hoopy Casino oxp) producing the image is:
if(this.$cwin == "luck")
{
mission.runScreen({title: "C R A P S", choicesKey: "hoopy_dice_yesno"}, this.choiceEvaluation);
setScreenBackground({ name: ("dice" + this.$dice + ".png"), height: 480 });
}
Any suggestions as to how I can adjust / correct the colour of images displayed in dev ver 1.91?
With the exception of the display screen colour all other colours and brightness look fine in 1.91. I have disabled other oxps such as BGS but makes no difference.
Another Oolite 1.91 question
Moderators: winston, another_commander
-
- Quite Grand Sub-Admiral
- Posts: 6681
- Joined: Wed Feb 28, 2007 7:54 am
Re: Another Oolite 1.91 question
This is partially because the background images in 1.90 are not tonemapped, but in 1.91 they are. However, there is indeed a discrepancy with how b/g images are displayed as well. When Oolite displays stuff, there is normally a gamma correction process going on so that accurate output colors are produced. Without getting too technical, this process seems to not be fully applied for backgrounds. This is a known issue (#412 on GitHub) and the workaround is to edit the original images and darken them by applying a gamma factor of 2.2 to them.
Yup, not perfect, I know. Haven't had time for a proper fix yet.
Yup, not perfect, I know. Haven't had time for a proper fix yet.
-
- Quite Grand Sub-Admiral
- Posts: 6681
- Joined: Wed Feb 28, 2007 7:54 am
Re: Another Oolite 1.91 question
Oh, by the way, there is a color saturation control I've been working on, which could maybe be made scriptable in the future. This would also help, but it would pump saturation globally and not only on backgrounds.
Re: Another Oolite 1.91 question
Thanks for the explanation, hopefully vrs 1.92 will address the issue or else I have a lot of image editing to do!
- hiran
- Theorethicist
- Posts: 2403
- Joined: Fri Mar 26, 2021 1:39 pm
- Location: a parallel world I created for myself. Some call it a singularity...
Re: Another Oolite 1.91 question
Even worse: Depending on the Oolite version you want one or the other image to be displayed.
Sunshine - Moonlight - Good Times - Oolite
-
- Quite Grand Sub-Admiral
- Posts: 6681
- Joined: Wed Feb 28, 2007 7:54 am
Re: Another Oolite 1.91 question
The issue with the washed out GUI images should now be fixed. A pull request with the fix has already been raised on github and awaits some further testing. Test executable for anyone willing to give it a go is available here: https://drive.google.com/file/d/1y-Dif6 ... sp=sharing
With reference to DGill's earlier images, this is the before and the after:
Before:
After:
With reference to DGill's earlier images, this is the before and the after:
Before:
After:
Re: Another Oolite 1.91 question
Thanks a_c. I've tried your new oolite.exe and it has resolved the issues I was having:
Both BGS and docked screens working well - much appreciate your efforts.
Both BGS and docked screens working well - much appreciate your efforts.
-
- Quite Grand Sub-Admiral
- Posts: 6681
- Joined: Wed Feb 28, 2007 7:54 am
Re: Another Oolite 1.91 question
Just popping in to mention that the fix is now in master and is included in the nightly builds from now on.
Re: Another Oolite 1.91 question
Thank you for taking the time to fix the problem.