Oolite Bulletins

For information and discussion about Oolite.
It is currently Fri Feb 15, 2019 7:35 pm

All times are UTC




Post new topic  Reply to topic  [ 5498 posts ]  Go to page Previous 1361 362 363 364 365367 Next
Author Message
 Post subject: Re: Screenshots
PostPosted: Thu Nov 22, 2018 8:25 am 
Offline
Dangerous
Dangerous
User avatar

Joined: Sat Jan 20, 2018 4:08 pm
Posts: 88
Location: In The Dark
Quote:
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


Top
   
 Post subject: Re: Screenshots
PostPosted: Thu Nov 22, 2018 10:01 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Mar 26, 2014 10:11 am
Posts: 1148
Location: Brisbane,Australia
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


Top
   
 Post subject: Re: Screenshots
PostPosted: Fri Nov 23, 2018 9:01 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Thu Aug 27, 2015 4:24 pm
Posts: 326
regular shots from extra detail planets trunk 1.89

Image
&
Image


Top
   
 Post subject: Re: Screenshots
PostPosted: Sun Nov 25, 2018 4:15 am 
Offline
Dangerous
Dangerous
User avatar

Joined: Thu Apr 05, 2018 5:31 am
Posts: 123
Location: Vladivostok, Russia
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.


Top
   
 Post subject: Re: Screenshots
PostPosted: Sun Nov 25, 2018 9:17 am 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

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


Top
   
 Post subject: Re: Screenshots
PostPosted: Sun Nov 25, 2018 10:02 am 
Offline
Dangerous
Dangerous
User avatar

Joined: Thu Apr 05, 2018 5:31 am
Posts: 123
Location: Vladivostok, Russia
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).


Top
   
 Post subject: Re: Screenshots
PostPosted: Sun Nov 25, 2018 3:50 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

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


Top
   
 Post subject: Re: Screenshots
PostPosted: Sun Nov 25, 2018 11:33 pm 
Offline
Dangerous
Dangerous
User avatar

Joined: Thu Apr 05, 2018 5:31 am
Posts: 123
Location: Vladivostok, Russia
Quote:
Quote:
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?


Top
   
 Post subject: Re: Screenshots
PostPosted: Mon Nov 26, 2018 11:07 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2365
Quote:
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


Top
   
 Post subject: Re: Screenshots
PostPosted: Mon Nov 26, 2018 11:34 am 
Offline
Dangerous
Dangerous
User avatar

Joined: Thu Apr 05, 2018 5:31 am
Posts: 123
Location: Vladivostok, Russia
Thank you for help, Svengali!


Top
   
 Post subject: Re: Screenshots
PostPosted: Mon Nov 26, 2018 11:53 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2365
Waves from the distance :D


Top
   
 Post subject: Re: Screenshots
PostPosted: Tue Nov 27, 2018 1:12 am 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 2244
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
Image

_________________
My OXP's
YouTube: Oolite Teaser Trailer


Top
   
 Post subject: Re: Screenshots
PostPosted: Tue Nov 27, 2018 11:57 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2365
Someone wants to steal the cookies, eh? :D


Top
   
 Post subject: Re: Screenshots
PostPosted: Thu Nov 29, 2018 1:10 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
User avatar

Joined: Tue Apr 01, 2008 12:55 pm
Posts: 950
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Quote:
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]


Top
   
 Post subject: Re: Screenshots
PostPosted: Thu Nov 29, 2018 7:56 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

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

_________________
Knowledge is a deadly friend, if no one sets the rules
The fate of all mankind, I see, is in the hands of fools


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5498 posts ]  Go to page Previous 1361 362 363 364 365367 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 19 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:
Powered by phpBB® Forum Software © phpBB Limited