Setting background stars & nebulas

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Setting background stars & nebulas

Post by Cody »

JazHaz wrote:
Excellent. Have tried these settings out and they look nice.
Agreed!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Knotty
Dangerous
Dangerous
Posts: 66
Joined: Sat Jun 09, 2012 11:22 pm

Re: Setting background stars & nebulas

Post by Knotty »

Thanks
Bit more tweaking:
Number of stars visible (ignoring the fact in game you're out of the atmosphere, but in direct sunlight etc) from Earth (ignoring what would happen in different parts of the galaxy) would be roughly 5,000 (possibly up to 9,000 magnitude 6.5 if you've got good eye sight)
ambient_level 0.1
I've tried to set the sun distance to 500, as it should be thumbnail size (at least from a planet in the goldilocks zone around a class G star), but doesn't seem to be any smaller that when set to 50. I've got corona_flare set at 0.8 and hues set at 0.1

Moons look great, but I think one effect that would help planets look more realistic would be reflection off the oceans, however I suspect this may push the system requirements into Pixar territory :-)
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Setting background stars & nebulas

Post by Cody »

Knotty wrote:
I've tried to set the sun distance to 500, as it should be thumbnail size (at least from a planet in the goldilocks zone around a class G star), but doesn't seem to be any smaller that when set to 50.
Have you tried the [EliteWiki] Sensible Sun OXP?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2453
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Setting background stars & nebulas

Post by Wildeblood »

El Viejo wrote:
Knotty wrote:
I've tried to set the sun distance to 500, as it should be thumbnail size (at least from a planet in the goldilocks zone around a class G star), but doesn't seem to be any smaller that when set to 50.
Have you tried the [EliteWiki] Sensible Sun OXP?
The entire contents of which is this:-

Code: Select all

{
"universal" = {
		"sun_distance_modifier" = 55.0; // Game default is 20.
		};
}
That's less of a change than Farsun, which is done by JS and equivalent to 60. In Orbits OXP there is a note from the author saying he uses Farsun with a multiplier of 9 instead of 3, which would be equivalent to a sun_distance_modifier of 180. I've put Sensible Sun and Farsun in together to check it was safe to do so, which is equivalent to a sun_distance_modifier of 165. That's fairly obvious. I'd say you should see the difference using sun_distance_modifier up to about 200; there doesn't seem much point in going higher than that.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Setting background stars & nebulas

Post by Eric Walch »

Knotty wrote:
Moons look great, but I think one effect that would help planets look more realistic would be reflection off the oceans, however I suspect this may push the system requirements into Pixar territory :-)
We don't need Pixar for that. In the current nighties, we already have oceans with a higher reflection than land masses. Sometime it looks wrong, for planets with green oceans and blue land, until you realise that the reflective part must be the ocean. :lol: In the past you just took for granted that the green part would be land and had it wrong in some cases. :(
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Setting background stars & nebulas

Post by cim »

Thanks for those star colour settings - very nice effects.
Knotty wrote:
Moons look great, but I think one effect that would help planets look more realistic would be reflection off the oceans, however I suspect this may push the system requirements into Pixar territory :-)
With the new planet shader work it is possible, by adding specular highlights. I think you'd want the effect to be very subtle, though, or you'd get planets looking like space snooker balls. Have a look at the screenshots in https://bb.oolite.space/viewtopic.php?f=6&t=5997 if you haven't seen the work submersible is doing on this.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2453
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Setting background stars & nebulas

Post by Wildeblood »

Eric Walch wrote:
In the current nighties...
I just tried out last night's r.5006. Plain grey, untextured planets. I did notice the way the sunrise crept across the planet's surface, though.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Setting background stars & nebulas

Post by another_commander »

Wildeblood wrote:
I just tried out last night's r.5006. Plain grey, untextured planets. I did notice the way the sunrise crept across the planet's surface, though.
I think that Eric refers to submersible's branch, which is not exactly the same code tree the nightlies are built from. For now, you have to compile that branch manually in order to see planet shader effects.
Knotty
Dangerous
Dangerous
Posts: 66
Joined: Sat Jun 09, 2012 11:22 pm

Re: Setting background stars & nebulas

Post by Knotty »

Thanks, Yep, Sensible sun started me off!
Not seen submersible's shots, look great, although the atmosphere glow looks odd.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Setting background stars & nebulas

Post by Eric Walch »

another_commander wrote:
I think that Eric refers to submersible's branch, which is not exactly the same code tree the nightlies are built from. For now, you have to compile that branch manually in order to see planet shader effects.
No, I was referring to the normal nighties, but without any planet retexturing oxp installed. Than the planets already have nice look. On retextiring with custom textures, the atmosphere becomes a bit opaqe :x
User avatar
Capt. Murphy
Commodore
Commodore
Posts: 1127
Joined: Fri Feb 25, 2011 8:46 am
Location: UK South Coast.

Re: Setting background stars & nebulas

Post by Capt. Murphy »

JazHaz wrote:
OK, what I have now is this:

Code: Select all

{
universal =
	{	
		"sky_rgb_colors" = "1.0 0.7 0.7 1.0 1.0 1.0";
		"star_count_multiplier" = "60.0";
	};
	
}
I get a hell of a lot more stars than your screenshot shows with "star_count_multiplier" = "60.0";. Along with a big performance hit. Frame rate in the 50s to 60s rather than the normal 99.

Image
[EliteWiki] Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2453
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Setting background stars & nebulas

Post by Wildeblood »

Capt. Murphy wrote:
I get a hell of a lot more stars than your screenshot shows with "star_count_multiplier" = "60.0";. Along with a big performance hit. Frame rate in the 50s to 60s rather than the normal 99.
Star count varies from system to system, and the higher the multiplier value, the more it should vary. Your screenshot is meaningless unless it was made in the same system as JazHaz's. If you want less variation (either always a lot or always a few), set a value for sky_n_stars, not star_count_multiplier.

IIRC JazHaz started experimenting with the settings because he found a particular system with too few, too red stars. I keep saying people should be wary of messing with the universal settings, but my pleas keep falling on deaf ears.
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: Setting background stars & nebulas

Post by JazHaz »

Wildeblood wrote:
IIRC JazHaz started experimenting with the settings because he found a particular system with too few, too red stars. I keep saying people should be wary of messing with the universal settings, but my pleas keep falling on deaf ears.
Yes, thats right, not many stars and all red. I'm in [wiki] [/wiki]Usqurave in Galaxy 2.

EDIT: I am wary of using the universal settings, however I do want more stars in every system, not just in Usqurave.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2453
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Setting background stars & nebulas

Post by Wildeblood »

Check this out:-

Image

No stars. Completely black sky, except for some nebulas. Not a single star. None. Zero. No fiddling with the sky settings at all, just part of Oolite's variation from system to system.
User avatar
Pleb
---- E L I T E ----
---- E L I T E ----
Posts: 908
Joined: Sun Apr 29, 2012 2:23 pm
Location: United Kingdom

Re: Setting background stars & nebulas

Post by Pleb »

Wildeblood wrote:
No stars. Completely black sky, except for some nebulas. Not a single star. None. Zero. No fiddling with the sky settings at all, just part of Oolite's variation from system to system.
Whoa, like that episode of Star Trek Voyager where they go to the void and there's no stars... I've noticed that in a few systems, thought it was just my computer's crappy graphics.
Desktop PC: CPU: Intel i7-4790K Quad Core 4.4GHz (Turbo-Charged) GPU: Nvidia GeForce GTX 1080Ti RAM: 32GB DDR3

Laptop PC: CPU: Intel i5-10300H Quad Core 4.5GHz (Turbo-Charged) GPU: Nvidia GeForce GTX 1650 RAM: 32GB DDR4
Post Reply