Oolite Bulletins
http://bb.aegidian.org/

Progress
http://bb.aegidian.org/viewtopic.php?f=2&t=3231
Page 129 of 132

Author:  Getafix [ Fri Sep 23, 2016 6:45 pm ]
Post subject:  Re: Progress

@Commander_X

That's great! Who needs time accelerators with such a OOniverse to admire!?! 8)

Author:  Redspear [ Sat Sep 24, 2016 4:32 pm ]
Post subject:  Re: Progress

Quote:
just wanted to let you know that from tonight's nightly we will have the new atmosphere shaders in the game for everyone to enjoy...

Full credit and thanks to Commander_X for this contribution.
Very nice. I look forward to trying it out. Thanks guys! :)

Author:  Commander_X [ Thu Sep 29, 2016 2:44 am ]
Post subject:  Re: Progress

Very happy this went through!
Kudos to the dev people, as well, for promptly assuming the tasks that were out of my league!

Author:  Cody [ Fri Oct 21, 2016 2:45 pm ]
Post subject:  Re: Progress

Is there a simple way to lessen the atmosphere intensity?

Author:  another_commander [ Fri Oct 21, 2016 7:24 pm ]
Post subject:  Re: Progress

Try playing a bit with the [b]newOpacity[/b] variable inside the oolite-default-atmosphere.fragment shader. At the bottom of the file you will find this:
Code:
    float dp = abs(dot(nvEyeVector, vec3(0.0,0.0,1.0)));
    if (dp > 0.16) {
      newOpacity = min(1.0, pow(0.16/dp,2.0)) * quant;
    }
    else
    {
      newOpacity = pow(dp/0.16,5.0) * quant;
    }
    newOpacity *= 0.5;	// <--------- Add this line, adjust the number to your prefs
  }

  gl_FragColor = vec4(totalColor, newOpacity);
}
Hopefully that gets you the effect you want.
Edit: Factoid: For changes to shaders, you do not need to hold Shift down when starting the game for them to take effect.

Author:  Cody [ Fri Oct 21, 2016 8:14 pm ]
Post subject:  Re: Progress

Ooh, more tinkering... thankee!

Author:  another_commander [ Sat May 13, 2017 5:26 pm ]
Post subject:  Re: Progress

The Perlin3D planets are now part of the game. P3D planet textures can be selected for each system independently by use of the planetinfo.plist boolean key perlin_3d. Lack of this key (or setting it to NO) will choose the standard texture method. Setting this key to YES in the "universal" section of planetinfo will make the Perlin 3D textures the default for all systens.

The default selection for planet textures is still the one we've had until now. Although Perlin3D textures are cool, there are two known issues at this time:
- Performance: There is a one or two seconds delay each time you press the F7 key for a P3D texture to be generated and displayed. Hyperspace jump sequence is also one or two seconds longer when entering a system sporting a P3D texture. This was observed on an old 2GHz Core2Duo, so on a more recent system this may not be such a problem. It would be good if this could be somewhat optimized though.
- The P3D textures appear to not be completely procedural. Sequential runs of the game produce slightly different textures each time for the same system. Land, sea and polar fractions, as well as cloud percentages are as expected, but the textures themselves do not repeat exactly between runs.

Both these two issues need to be investigated and resolved before P3D textures become standard. But including them in the game will enable their testing on a variety of systems and maybe give us some additional performance metrics. Oh, and they look good, too!

Author:  Cody [ Sun May 14, 2017 12:37 pm ]
Post subject:  Re: Progress

Quote:
Performance: There is a one or two seconds delay each time you press the F7 key for a P3D texture to be generated and displayed. Hyperspace jump sequence is also one or two seconds longer when entering a system sporting a P3D texture. This was observed on an old 2GHz Core2Duo, so on a more recent system this may not be such a problem.
The same delay is there on my i5-4670K 4@3.8/GTX 770 machine, both on F7 and on hyperspace exit.
Quote:
Oh, and they look good, too!
Yes, they do - very good!

Author:  gizmo [ Mon May 15, 2017 7:28 am ]
Post subject:  Re: Progress

Only a short delay (less than one second) when leaving hyperspace or opening the F7 screen.
This is on a Core i7 870 (old Nehalem) and a Nvidia Quadro 600.

Author:  Stormrider [ Mon May 15, 2017 2:52 pm ]
Post subject:  Re: Progress

Yes, only a slight delay (under 1 second) for me as well. Fps drop to 130 on F7, run steady at 199 on F3, but if I've got a course plotted on F6 fps is around 100, 160 on F6 if no course plotted. In hyperspace I didn't notice much of a delay but with the planet in view fps is around 100 as soon as the planet leaves the field of view fps climb to 199.
my specs
Code:
System:    Kernel: 3.19.0-32-generic x86_64 (64 bit gcc: 4.8.2)
           Desktop: MATE 1.12.0 (Gtk 3.10.8) Distro: Linux Mint 17.3 Rosa
CPU:       Quad core Intel Core i7-2760QM (-HT-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 19155
           clock speeds: max: 3500 MHz 1: 1958 MHz 2: 1025 MHz 3: 1443 MHz
           4: 803 MHz 5: 827 MHz 6: 1351 MHz 7: 807 MHz 8: 1303 MHz
Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           bus-ID: 00:02.0
           Card-2: NVIDIA GF119M [NVS 4200M] bus-ID: 01:00.0
           Display Server: X.Org 1.17.1 drivers: nvidia (unloaded: intel)
           Resolution: 1920x1080@60.0hz
           GLX Renderer: NVS 4200M/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 375.39 Direct Rendering: Yes
I'll test on my AMD desktop with the radeon GPU when I get the chance.

Author:  another_commander [ Mon May 15, 2017 4:39 pm ]
Post subject:  Re: Progress

Thanks to all who have posted feedback regarding performance. Just wanted to note that performance is expected to be affected only during the P3D texture generation. Once the texture for a system has been generated, it should behave like any normal planet texture. FPS will drop when a planet is in view, but I would expect this to be the case also with the standard planet textures.

Author:  another_commander [ Fri May 19, 2017 4:04 pm ]
Post subject:  Re: Progress

In tomorrow's nightly, we will have a slightly darker default environment. The default ambient light level, which corresponds to the value of 1.0 has been reduced by a factor of 4. This change gives a better contrast between lit and unlit parts of models and makes the dark side of a planet appear actually dark.

Those who prefer the previous default appearance can restore it by mutliplying the ambient_level planetinfo parameter they use by 4.

Author:  Astrobe [ Fri May 19, 2017 7:36 pm ]
Post subject:  Re: Progress

If I understand correctly, ambient_level is internally divided by 4, correct? It seems to be a quite intrusive change (I'm thinking about the OXPs that modify it; if I'm not mistaken most of them don't have a maintainer anymore), compared to changing it to 0.25 in the config file. What's the idea behind this?

Author:  another_commander [ Fri May 19, 2017 8:05 pm ]
Post subject:  Re: Progress

You are correct, it is internally reduced so that the 1.0 ambient_level has been recalibrated to a darker value. The idea is to improve general lighting in-game. Here is an example of Lave as it's been till now, as soon as you exit the station:
Image

And here is what it looks like with this change:
Image

Note a few things in these shots:
1. The second one has better contrast between lit and unlit parts (seen in the laser cannon). It is even more evident if you rotate the ship.
2. The first image looks more washed out.
3. This is quite important: The atmosphere is supposed to be slightly biased towards the blue color. This is not visible at all on the first pic, while it can be perceived as such on the bottom.
4. The dark side of the planet is indeed dark on the second pic, but too intensely lit on the first.

I think that the overall effect is worth it, especially if you use Perlin3D textures. Of course, if it is tested and people prefer the old way, it can easily be changed back or even be made a user defaults parameter.

Author:  Cody [ Fri May 19, 2017 8:23 pm ]
Post subject:  Re: Progress

Quote:
In tomorrow's nightly, we will have a slightly darker default environment. The default ambient light level has been reduced by a factor of 4.
Good - that'll apply to F7 too, I take it.
Quote:
I think that the overall effect is worth it, especially if you use Perlin3D textures.
Those Perlin3D textures do interesting things with the terminator.

Page 129 of 132 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/