Screenshots

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2483
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Re: Screenshots

Post by Griff »

if the rings just suddenly pop out of existance at long distance, would it help to start 'fading' them out by mixing in more and more black into their display colour the further the player is from them, sort of like how the stations now fade out when viewed from really close to the planet surface
User avatar
gsagostinho
---- E L I T E ----
---- E L I T E ----
Posts: 573
Joined: Sun Jul 19, 2015 1:09 pm

Re: Screenshots

Post by gsagostinho »

@Tichy Thanks a lot! I spoke with cim and he told me I can go ahead and release a new version, so soon this will be available here :)

@Commander_X It could be that, but I also read somewhere that you need to enable blending (whatever that means) in GLSL in order to be able to work with transparencies. I am an utter complete GLSL noob, I just know a couple of other programming languages which is how I managed to find my way around these shaders. cim told me that in order to change the opacity of the rings we would need some core changes, so if that's the case then this is as far as I can get. I just wonder why the fragment shader of the atmosphere is able to use transparency while this fragment shader for the rings cannot.
User avatar
gsagostinho
---- E L I T E ----
---- E L I T E ----
Posts: 573
Joined: Sun Jul 19, 2015 1:09 pm

Re: Screenshots

Post by gsagostinho »

Griff wrote: Mon Jul 17, 2017 7:20 pm
if the rings just suddenly pop out of existance at long distance, would it help to start 'fading' them out by mixing in more and more black into their display colour the further the player is from them, sort of like how the stations now fade out when viewed from really close to the planet surface
The rings just simply pop out at around 2.7 OU. Would you be able to point me to the code which controls the fading of the stations you describe? I would be happy to attempt to adapt that.
Commander_X
---- E L I T E ----
---- E L I T E ----
Posts: 675
Joined: Sat Aug 09, 2014 4:16 pm

Re: Screenshots

Post by Commander_X »

gsagostinho wrote: Mon Jul 17, 2017 10:44 pm
[...] Would you be able to point me to the code which controls the fading of the stations you describe?
I cannot tell about the fading stations code, but if you're running nightly/trunk, you will find a similar approach at the end of oolite-default-atmosphere.fragment (hint -- the quant calculation). The code actually fades the shader when the ship is too far as well as when it is too close to the planet.
User avatar
gsagostinho
---- E L I T E ----
---- E L I T E ----
Posts: 573
Joined: Sun Jul 19, 2015 1:09 pm

Re: Screenshots

Post by gsagostinho »

Commander_X wrote: Tue Jul 18, 2017 12:28 am
if you're running nightly/trunk, you will find a similar approach at the end of oolite-default-atmosphere.fragment (hint -- the quant calculation)
I am running the most current nightly. But this is exactly the issue I am having: the opacity does work with atmosphere fragment shader but does not work with the rings shader for some reason. All those calculations in the end of oolite-default-atmosphere.fragment are just producing a float value assigned to the variable newOpacity which is then passed as the last argument of gl_FragColor. In the rings shader, no mater the value of the last argument of gl_FragColor, the opacity is always displayed in-game as 1.0.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Re: Screenshots

Post by another_commander »

We interrupt this program for some screenies. Please use a separate topic if we are to get technical with the rings shaders.

Image
Image
Image
User avatar
gsagostinho
---- E L I T E ----
---- E L I T E ----
Posts: 573
Joined: Sun Jul 19, 2015 1:09 pm

Re: Screenshots

Post by gsagostinho »

We interrupt this program for some screenies. Please use a separate topic if we are to get technical with the rings shaders.
My apologies, I will start a new thread for that, and a moderator can feel free to move the messages over there. As for your shots, they look great! :D 8) :shock:
Commander_X
---- E L I T E ----
---- E L I T E ----
Posts: 675
Joined: Sat Aug 09, 2014 4:16 pm

Re: Screenshots

Post by Commander_X »

another_commander wrote: Tue Jul 18, 2017 10:39 am
We interrupt this program for some screenies. [...]
Exactly my thoughts when I replied last time - actually I was thinking along the "can there be a screenshots page without screenshots" line :D

And to properly submit this post, this is a quick hack[*] to get rid of the Moire patterns:

Image

[*]don't ask is not there yet
User avatar
gsagostinho
---- E L I T E ----
---- E L I T E ----
Posts: 573
Joined: Sun Jul 19, 2015 1:09 pm

Re: Screenshots

Post by gsagostinho »

@Commander_X Very nice! Do you want that I send you what I have so far, so you can test it what you are doing together with the ambient light?
User avatar
gsagostinho
---- E L I T E ----
---- E L I T E ----
Posts: 573
Joined: Sun Jul 19, 2015 1:09 pm

Re: Screenshots

Post by gsagostinho »

I've been working on some Python liveries :)

Image

Image

Image

Image
User avatar
Tichy
---- E L I T E ----
---- E L I T E ----
Posts: 345
Joined: Wed Jul 11, 2012 5:48 pm

Re: Screenshots

Post by Tichy »

That orange-darkgray :o <3

I need a python, now! A lovely, slow, cleap but gorgeous black-orange python. :mrgreen:
User avatar
gsagostinho
---- E L I T E ----
---- E L I T E ----
Posts: 573
Joined: Sun Jul 19, 2015 1:09 pm

Re: Screenshots

Post by gsagostinho »

Tichy wrote:
I need a python, now! A lovely, slow, cleap but gorgeous black-orange python. :mrgreen:
That's exactly the intended reaction! :D :wink:
User avatar
gsagostinho
---- E L I T E ----
---- E L I T E ----
Posts: 573
Joined: Sun Jul 19, 2015 1:09 pm

Re: Screenshots

Post by gsagostinho »

I have just released System Features: Rings version 2.0:

Image

Image

Image
User avatar
gsagostinho
---- E L I T E ----
---- E L I T E ----
Posts: 573
Joined: Sun Jul 19, 2015 1:09 pm

Re: Screenshots

Post by gsagostinho »

Refuelling 8)

Image
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Screenshots

Post by phkb »

Image
Heading out into the black...
Post Reply