Bug :: Mysterious Deep-Space Light.

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

User avatar
ADCK
---- E L I T E ----
---- E L I T E ----
Posts: 771
Joined: Thu Dec 24, 2009 12:30 am
Location: Sydney
Contact:

Bug :: Mysterious Deep-Space Light.

Post by ADCK »

Kind of hard to put this in the bug category, as it seems intentional...

But when misjumping on purpose, I notice that in the deep space void between worlds, there is a mysterious source of light that lights up all the ships, as if some invisible Star resides there, the ships all recieve the same amount of light they would get when they are actually right next to the sun...

Just an immersion thing really.

Also, on an unrelated note, is there an addon like system redux, but for suns? All the suns are exactly the same size, colour and type of star. I wanna see variety, more realistic.
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: Bug :: Mysterious Deep-Space Light.

Post by Svengali »

ADCK wrote:
But when misjumping on purpose, I notice that in the deep space void between worlds, there is a mysterious source of light that lights up all the ships, as if some invisible Star resides there, the ships all recieve the same amount of light they would get when they are actually right next to the sun...
I wouldn't like to get only black ships .-)
ADCK wrote:
Also, on an unrelated note, is there an addon like system redux, but for suns? All the suns are exactly the same size, colour and type of star. I wanna see variety, more realistic.
The suns are already of different size and color. The colors are a bit subtle and the differences are best seen in the corona. Depending on your GFX-card and display you will see (or not) the differences.
User avatar
ADCK
---- E L I T E ----
---- E L I T E ----
Posts: 771
Joined: Thu Dec 24, 2009 12:30 am
Location: Sydney
Contact:

Re: Bug :: Mysterious Deep-Space Light.

Post by ADCK »

Svengali wrote:
I wouldn't like to get only black ships .-)
With shaders (hull glows, engine glows) they wouldn't be completely black, and there would still be some light from nearby systems, just no where near as bright.
ADCK wrote:
The suns are already of different size and color. The colors are a bit subtle and the differences are best seen in the corona. Depending on your GFX-card and display you will see (or not) the differences.
They're all white and the same size for me. And its not my graphics card, (see: https://bb.oolite.space/viewtopic.php?t=6612&start=15 ) There's no red giants, or tiny green stars... theyre all blue/white tiny stars.
Last edited by ADCK on Wed Jan 06, 2010 6:52 pm, edited 2 times in total.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6633
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Gameplay is more inportant than realism. If we switched off all lights in witchspace, might as well render a completely black screen, but that would not make a very good game, would it? ;-) And what if I don't have shaders for showing the engine glows etc., would I be doomed to not see anything in witchspace?

As for the suns being the same, this is incorrect. Each sun has already its own set of properties, like light color, size, corona flare, etc. Most of it is already changeable by scripts.
User avatar
ADCK
---- E L I T E ----
---- E L I T E ----
Posts: 771
Joined: Thu Dec 24, 2009 12:30 am
Location: Sydney
Contact:

Post by ADCK »

another_commander wrote:
As for the suns being the same, this is incorrect. Each sun has already its own set of properties, like light color, size, corona flare, etc. Most of it is already changeable by scripts.
What about the areas I'm describing (the voids between systems) Can we manually change them in an OXP?

And also, about the ability to change the system suns, if i made a red sun for a system, would the ships in that area have a red glow? (with shaders)
another_commander wrote:
And what if I don't have shaders for showing the engine glows etc., would I be doomed to not see anything in witchspace?
If you didn't have shaders, it wouldn't effect you at all, as things like lighting are what the shaders do, can't get darkness w/o shaders.
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

ADCK wrote:
If you didn't have shaders, it wouldn't effect you at all, as things like lighting are what the shaders do, can't get darkness w/o shaders.
No, shaders in Oolite are what add all the additional effects to the standard diffuse map of the texture, without an ambient light source defined, Oolite space would be completely black - notice how the 'dark side' of planets are never completely black even though with a single sun they should be almost completely black (and as Oolite doesn't model atmospheric scattering) then it should actually be completely black without this 'gameplay enhancing' background light.
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
ADCK
---- E L I T E ----
---- E L I T E ----
Posts: 771
Joined: Thu Dec 24, 2009 12:30 am
Location: Sydney
Contact:

Post by ADCK »

(disregard)
Last edited by ADCK on Wed Jan 06, 2010 7:48 pm, edited 2 times in total.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6633
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

ADCK wrote:
What about the areas I'm describing (the voids between systems) Can we manually change them in an OXP?

And also, about the ability to change the system suns, if i made a red sun for a system, would the ships in that area have a red glow? (with shaders)
Have a look in the planetinfo.plist page in the wiki. It contains all of the information you require regarding sun properties that can be changed and also the ambient_level setting, which you may find useful.

Changing the sun light color, will result in ships having their colors affected. See the Coriolis in the screens below, I have switched Lave to full blue sun color first, orange color afterwards.
Image Image

Regarding the comment about lack of shaders not affecting anything, well, it would. If we start with a totally unlit scene without ambient light, how is one supposed to see anything? Applying shader glows to engines or lightmap effects to ships would be the only way to see some part of them.
Last edited by another_commander on Wed Jan 06, 2010 7:39 pm, edited 1 time in total.
User avatar
ADCK
---- E L I T E ----
---- E L I T E ----
Posts: 771
Joined: Thu Dec 24, 2009 12:30 am
Location: Sydney
Contact:

Post by ADCK »

another_commander wrote:
ADCK wrote:
What about the areas I'm describing (the voids between systems) Can we manually change them in an OXP?

And also, about the ability to change the system suns, if i made a red sun for a system, would the ships in that area have a red glow? (with shaders)
Have a look in the planetinfo.plist page in the wiki. It contains all of the information you require regarding sun properties that can be changed and also the ambient_level setting, which you may find useful.

Changing the sun light color, will result in ships having their colors affected. See the Coriolis in the screens below, I have switched Lave to full blue sun color first, orange color afterwards.
Image Image
Nice, i wonder though, it seems to be a very soft light, is it possible to make a harsh blinding light, eg: from a red giant that would make things glow a deep red?

Also, is it possible to retexture a sun?

Also, OpenGL supports HDRR (High Dynamic Range Rendering) doesn't it?
That could be used to make dark things appear dark yet still visible in space, if i recall correctly.
Getting the devs to implement it though... probably won't happen... with only 1 light source i can't really picture them prioritising lighting. :P
Last edited by ADCK on Wed Jan 06, 2010 7:55 pm, edited 1 time in total.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6633
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

ADCK: I am not sure that what you want can be achieved. The chosen sun color is blended with white to achieve what you normally see as ambient light, so I don't think it is possible to have very bright or intense sky colors.

Retexturing of the sun is not possible at this stage.
User avatar
ADCK
---- E L I T E ----
---- E L I T E ----
Posts: 771
Joined: Thu Dec 24, 2009 12:30 am
Location: Sydney
Contact:

Post by ADCK »

another_commander wrote:
ADCK: I am not sure that what you want can be achieved. The chosen sun color is blended with white to achieve what you normally see as ambient light, so I don't think it is possible to have very bright or intense sky colors.

Retexturing of the sun is not possible at this stage.
:( That's too bad, I was wanting to improve the suns, with amazing looking planets/ships/objects done through oxp's, there's only one thing that looks rather poor graphically, that being the sun.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6633
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Run a quick test. This is what the Coriolis shown previously would look like if we did not blend the sky color with white for the final effect. Pure red sky color is shown here. I have mixed feelings about how nice it looks. And it is true that the sun could be improved, but I guess this a project for the future.

Image
User avatar
Cmd. Cheyd
---- E L I T E ----
---- E L I T E ----
Posts: 934
Joined: Tue Dec 16, 2008 2:52 pm
Location: Deep Horizon Industries Manufacturing & Research Site somewhere in G8...

Post by Cmd. Cheyd »

ADCK-
I've inquired on this subject myself when I first got here as I agree, with great planets, ships, stations, etc - The suns seem rather lacking. My understanding is that the sun is not an actually a sphere in game, but rather a large flat disk. It would require MASSIVE recoding to change this, and so was rejected as an upgrade idea. I'll go digging for the thread and see if I can find the explanation therein, as I may be mis-remembering it.

EDIT:
DOH, it was a PM and I believe I've deleted it. Anyways, is this something more like what you were wanting to see?

Image

Image

Just some mockups I'd done using a "solar" texture on a planet.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

@ADCK: One question. Have you ever attempted to fly towards a sun, like for skimming fuel? If you had (in different systems), you would have stumbled across the very obvious fact that suns are not the same size everywhere. Your altimeter would show very different heights above the sun when starting the fuel scoops, because you have to fly much closer to a small sun in order to start the process. Also a bigger sun will heat you up much faster.

And while the colour differences may be subtle (a reddish white, a greenish white, a blueish white, ...), I think they are hard to overlook when the sun fills your screen, and they are also very well visible in the ambient light of the system. And if you would employ one of your side views while sunskimming, you would also see at once the clear differences in the colour of the corona.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

One thing nobody has mentioned is the way our eyes automatically colour correct for bright lights.

If you were to fly close to a red dwarf, it'll look pretty white to the naked eye, regardless of what it might look like from a distance (distance being defined in light years, not AUs)

About solar textures, what Cmd. Cheyd says!
It's something I thought about when I redid some of the planets code for 1.73, but - again to the naked eye - It's almost impossible to tell individual features on the sun's surface due to its brightness, and Sol is a pretty dim star to begin with...
The amount of rewriting to get it working 'just right' would have meant quite a big delay in releasing 1.73, and it's definitely not a feature planned for 1.74!
As always, if there's a patch coming from anyone, by all means, we'll test it & include it in the code if there's no problems with it! :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Post Reply