Screenshots

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Nite Owl
Dangerous
Dangerous
Posts: 110
Joined: Sat Jan 20, 2018 4:08 pm
Location: In The Dark

Re: Screenshots

Post by Nite Owl » Thu Nov 22, 2018 8:25 am

Redspear wrote:Did the er, station just blow up? :shock:
More than likely got caught in an ASTEROID STORM.
Humor is the second most subjective thing on the planet

Brevity is the soul of wit and vulgarity is wit's downfall

Good Night and Good Luck - Read You Soon

User avatar
spud42
---- E L I T E ----
---- E L I T E ----
Posts: 1223
Joined: Wed Mar 26, 2014 10:11 am
Location: Brisbane,Australia

Re: Screenshots

Post by spud42 » Thu Nov 22, 2018 10:01 am

Jaw droppingly stunning pics a_c !! i have no more words.....
Arthur: OK. Leave this to me. I'm British. I know how to queue.
OR i could go with
Arthur Dent: I always said there was something fundamentally wrong with the universe.
or simply
42

cbr
---- E L I T E ----
---- E L I T E ----
Posts: 343
Joined: Thu Aug 27, 2015 4:24 pm

Re: Screenshots

Post by cbr » Fri Nov 23, 2018 9:01 pm

regular shots from extra detail planets trunk 1.89

Image
&
Image

User avatar
stranger
Deadly
Deadly
Posts: 147
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Screenshots

Post by stranger » Sun Nov 25, 2018 4:15 am

To another_commander

Question how light works in Oolite.
According to Planetinfo.plist page on EliteWiki sun color is blended with 50% white so it will never be a saturated color. Indeed, generating sun_color = "0.999 0.000 0.000 1"; (saturated red) and taking screenshot I got RGB color of solar disk 255, 170, 170 or HSB color 0, 33, 100.
Is this color blending implemented to illumination effect too? What color will be white sheet of material illuminated with such sun? The same RGB 255, 170, 170?
Seems color blending effect must be taking into account to simulate sun colors based on real astrometric data.

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5398
Joined: Wed Feb 28, 2007 7:54 am

Re: Screenshots

Post by another_commander » Sun Nov 25, 2018 9:17 am

stranger wrote:
Sun Nov 25, 2018 4:15 am
To another_commander

Question how light works in Oolite.
According to Planetinfo.plist page on EliteWiki sun color is blended with 50% white so it will never be a saturated color. Indeed, generating sun_color = "0.999 0.000 0.000 1"; (saturated red) and taking screenshot I got RGB color of solar disk 255, 170, 170 or HSB color 0, 33, 100.
Is this color blending implemented to illumination effect too? What color will be white sheet of material illuminated with such sun? The same RGB 255, 170, 170?
Seems color blending effect must be taking into account to simulate sun colors based on real astrometric data.
The quick answer is yes, but let me explain a bit what happens.

The sun color is calculated with some white blending in it. The calculation is a bit more complex than just adding 50% white in; there is some hue and saturation manipulation going on, as well as an initial pre-mix with 30% white and if you want to see exactly what happens, you can refer to the OOSunEntity.m setSunColor method in the source code. Anyways, the sun color that gets calculated is then fed to the OpenGL system as follows:
Sun color after blending with white is set as the OpenGL light source 1 diffuse color.
Sun color exactly as originally requested (in your case (0.999,0.0,0.0,1.0)) is set as the OpenGL light source 1 specular color. This gets mixed with the material's own specular color to determine what color the final specular highlights will be.

To answer your question in a more practical way (and keep posting screenies in the screenshots topic), I did the experiment you described. I took a metal alloy model which looks like a very thick sheet of paper and changed its material properties to make it something close to paper. Set specular color to (0.2,0.2,0.2), gloss to 0.2 and gave it a diffuse color of (0.76, 0.76, 0.76) because in nature nothing has really a diffuse color equal to pure white and even that 0.76 is close to the value for the color of snow, so I am actually exaggerating it. Then set the sun color to redColor and blueColor and took a couple of shots from different angles for each color. Here it is:
Image
Image


and, from a more lit angle:
Image
Image

User avatar
stranger
Deadly
Deadly
Posts: 147
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Screenshots

Post by stranger » Sun Nov 25, 2018 10:02 am

Thanks for explanation!
So this is no way to simulate color of red dwarf (spectral class M0V for example, RGB color #ffcd90 or 255, 205, 144 in decimal notation).

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5398
Joined: Wed Feb 28, 2007 7:54 am

Re: Screenshots

Post by another_commander » Sun Nov 25, 2018 3:50 pm

stranger wrote:
Sun Nov 25, 2018 10:02 am
So this is no way to simulate color of red dwarf (spectral class M0V for example, RGB color #ffcd90 or 255, 205, 144 in decimal notation).
Not with the default Oolite shaders, but you can always override those with your own shaders in your OXP and there you can set the lightsource colors to whatever you want.

User avatar
stranger
Deadly
Deadly
Posts: 147
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Screenshots

Post by stranger » Sun Nov 25, 2018 11:33 pm

another_commander wrote:
Sun Nov 25, 2018 3:50 pm
stranger wrote:
Sun Nov 25, 2018 10:02 am
So this is no way to simulate color of red dwarf (spectral class M0V for example, RGB color #ffcd90 or 255, 205, 144 in decimal notation).
Not with the default Oolite shaders, but you can always override those with your own shaders in your OXP and there you can set the lightsource colors to whatever you want.
Sounds good!
Working with shaders is my blind spot yet. I'll try to read basic concept in EliteWiki. Can you help with useful links to start?

User avatar
Svengali
---- E L I T E ----
---- E L I T E ----
Posts: 2365
Joined: Sat Oct 20, 2007 2:52 pm

Re: Screenshots

Post by Svengali » Mon Nov 26, 2018 11:07 am

stranger wrote:
Sun Nov 25, 2018 11:33 pm
Can you help with useful links to start?
Look for Randi Rosts 'Orange Book Second Edition'. It's a bit difficult to find these days as it is from 2006, but I've stored a copy -> Orange Book. This is a must have and a good start. Another one is Emil Perssons 'Low Level Thinking' from 2013 which is a good read if you want to get deeper in the shader execution time. -> Low Level Thinking

User avatar
stranger
Deadly
Deadly
Posts: 147
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Screenshots

Post by stranger » Mon Nov 26, 2018 11:34 am

Thank you for help, Svengali!

User avatar
Svengali
---- E L I T E ----
---- E L I T E ----
Posts: 2365
Joined: Sat Oct 20, 2007 2:52 pm

Re: Screenshots

Post by Svengali » Mon Nov 26, 2018 11:53 pm

Waves from the distance :D

User avatar
phkb
Commodore
Commodore
Posts: 2438
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Screenshots

Post by phkb » Tue Nov 27, 2018 1:12 am

Image

User avatar
Svengali
---- E L I T E ----
---- E L I T E ----
Posts: 2365
Joined: Sat Oct 20, 2007 2:52 pm

Re: Screenshots

Post by Svengali » Tue Nov 27, 2018 11:57 am

Someone wants to steal the cookies, eh? :D

User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 960
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: Screenshots

Post by Getafix » Thu Nov 29, 2018 1:10 pm

Svengali wrote:
Tue Nov 27, 2018 11:57 am
Svengali wrote:
Someone wants to steal the cookies, eh? :D
:lol:

@phkb: Nice composition and framing phkb!
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13692
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Screenshots

Post by Cody » Thu Nov 29, 2018 7:56 pm

another_commander wrote:
Wed Nov 21, 2018 4:14 pm
Image
I've been asked, over on SSC, to find out which mods you're using for the above shot, Admiral. I presume there are some graphics tweaks too, yes?
Their dreams a tattered sail in the wind

Post Reply