Oolite Bulletins

For information and discussion about Oolite.
It is currently Sat Sep 23, 2017 2:32 pm

All times are UTC




Post new topic  Reply to topic  [ 1953 posts ]  Go to page Previous 1127 128 129 130 131 Next
Author Message
 Post subject: Re: Progress
PostPosted: Fri Sep 23, 2016 6:45 pm 
Offline
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
User avatar

Joined: Tue Apr 01, 2008 12:55 pm
Posts: 820
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
@Commander_X

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

_________________
Xubuntu 14.04LTS / Windows 7 Home Premium
Intel Core 2 Quad Q9450 2.66GHz - 6GB DDR2 - Palit GeForce GTX 750 Ti StormX Dual (2048MB DDR5)
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]


Top
   
 Post subject: Re: Progress
PostPosted: Sat Sep 24, 2016 4:32 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Thu Jun 20, 2013 10:22 pm
Posts: 1066
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! :)

_________________
"With our thoughts, we make the world" :-)


Top
   
 Post subject: Re: Progress
PostPosted: Thu Sep 29, 2016 2:44 am 
Offline
Deadly
Deadly

Joined: Sat Aug 09, 2014 4:16 pm
Posts: 159
Very happy this went through!
Kudos to the dev people, as well, for promptly assuming the tasks that were out of my league!


Top
   
 Post subject: Re: Progress
PostPosted: Fri Oct 21, 2016 2:45 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 12778
Location: Corke's Drift
Is there a simple way to lessen the atmosphere intensity?

_________________
The only good fnord is a dead fnord!


Top
   
 Post subject: Re: Progress
PostPosted: Fri Oct 21, 2016 7:24 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 4921
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.


Top
   
 Post subject: Re: Progress
PostPosted: Fri Oct 21, 2016 8:14 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 12778
Location: Corke's Drift
Ooh, more tinkering... thankee!

_________________
The only good fnord is a dead fnord!


Top
   
 Post subject: Re: Progress
PostPosted: Sat May 13, 2017 5:26 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 4921
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!


Top
   
 Post subject: Re: Progress
PostPosted: Sun May 14, 2017 12:37 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 12778
Location: Corke's Drift
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!

_________________
The only good fnord is a dead fnord!


Top
   
 Post subject: Re: Progress
PostPosted: Mon May 15, 2017 7:28 am 
Offline
Deadly
Deadly

Joined: Mon Nov 22, 2010 2:40 pm
Posts: 145
Location: aboard the "Dies Irae"
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.


Top
   
 Post subject: Re: Progress
PostPosted: Mon May 15, 2017 2:52 pm 
Offline
Deadly
Deadly
User avatar

Joined: Sat Jan 25, 2014 2:35 am
Posts: 183
Location: floating the Blackfoot
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.

_________________
Realize collective conscious creation


Top
   
 Post subject: Re: Progress
PostPosted: Mon May 15, 2017 4:39 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 4921
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.


Top
   
 Post subject: Re: Progress
PostPosted: Fri May 19, 2017 4:04 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 4921
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.


Top
   
 Post subject: Re: Progress
PostPosted: Fri May 19, 2017 7:36 pm 
Online
---- E L I T E ----
---- E L I T E ----

Joined: Sun Jul 21, 2013 12:26 pm
Posts: 479
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?


Top
   
 Post subject: Re: Progress
PostPosted: Fri May 19, 2017 8:05 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 4921
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.


Top
   
 Post subject: Re: Progress
PostPosted: Fri May 19, 2017 8:23 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 12778
Location: Corke's Drift
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.

_________________
The only good fnord is a dead fnord!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1953 posts ]  Go to page Previous 1127 128 129 130 131 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited