City lights on the dark side of planets
Moderators: winston, another_commander
City lights on the dark side of planets
One thing I miss in Oolite is seeing "civilization lights" on the dark side of planets, like there: http://visibleearth.nasa.gov/view.php?id=55167
I'm wondering if there would be a shader/texture trick that would let us have this.
I'm wondering if there would be a shader/texture trick that would let us have this.
-
- Competent
- Posts: 58
- Joined: Mon Mar 02, 2015 2:08 pm
- Location: drifting in remLock mask near Vezadi Station
Re: City lights on the dark side of planets
Actually this could probably be done quite easily by spawning a few ship entities with lots of flashers on the night side of a planet; it's was somewhere near the bottom of my to-do list a while ago but must have fallen off.. Unfortunately I'm rather busy right now trying to make an improved replacement for CustomShields and otherwise make life a bit fairer for those poor defenceless NPCs, so don't expect me to do it soon.
Advice if you want to DIY: make sure they spawn a few metres above the surface as ships in contact with the surface will be removed.
Advice if you want to DIY: make sure they spawn a few metres above the surface as ships in contact with the surface will be removed.
Equal Rights for NPCs!
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: City lights on the dark side of planets
[wiki]Trails[/wiki] show that you should not use too much flashers else you must buy a new computer or accept low FPS.Ngalo wrote:lots of flashers
Another way is using shaders, there is an interesting example in [wiki]Flying Dutchman OXP[/wiki] which can make transparent models. In this case you must check oolite.gameSettings.detailLevel and spawn only if shaders or extras are set.
Re: City lights on the dark side of planets
Use visual effects rather than ships if you want to do it this way, as they don't collide and don't need any non-flasher model components.Ngalo wrote:Advice if you want to DIY: make sure they spawn a few metres above the surface as ships in contact with the surface will be removed.
Re: City lights on the dark side of planets
I like the idea
EyeCandy which could even later spawn new functionalities (like drowning if you try to land on an ocean, well except if it's a Moray !!).
EyeCandy which could even later spawn new functionalities (like drowning if you try to land on an ocean, well except if it's a Moray !!).
Re: City lights on the dark side of planets
I noticed that Griff's station has that kind of feature: on can see the station's lights on the dark side. Can it ported to the planetary textures?
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: City lights on the dark side of planets
Unfortunately not. Ships and stations have had lighting since Oolite v1.74 depending on the OXPs used, but these are generated by shaders or emission maps applied to the models. Planets don't work in the same way, mostly being procedurally generated and although they can have textures applied to them the facility to add emissions is not yet possible.Astrobe wrote:I noticed that Griff's station has that kind of feature: on can see the station's lights on the dark side. Can it ported to the planetary textures?
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Disembodied
- Jedi Spam Assassin
- Posts: 6885
- Joined: Thu Jul 12, 2007 10:54 pm
- Location: Carter's Snort
Re: City lights on the dark side of planets
How about if we made the planets hollow, cut little holes in them, and put a really big light inside? And remember, there's a fine line between genius and insanity ...
Re: City lights on the dark side of planets
Wasn't there something like a shady planet branch or something? Wasn't it supposed to do something like that? What happened to that?
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Re: City lights on the dark side of planets
It went stale long time ago and there have been many changes in the planet drawing code and shaders since then, so it may not be such a simple job bringing it up to date.spara wrote:Wasn't there something like a shady planet branch or something? Wasn't it supposed to do something like that? What happened to that?
In any case, I think that shaders would be the way to go about implementing this request. I doubt that flashers or other look-alike effects would be able to cut it.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: City lights on the dark side of planets
I've been in my mind, it's such a fine line,Disembodied wrote:And remember, there's a fine line between genius and insanity ...
That keeps me searching for a heart of gold.
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!
And any survivors, their debts I will certainly pay. There's always a way!
-
- ---- E L I T E ----
- Posts: 675
- Joined: Sat Aug 09, 2014 4:16 pm
Re: City lights on the dark side of planets
<Didn't have to google this one >Cody wrote:I've been in my mind, it's such a fine line,
That keeps me searching for a heart of gold.
Out of curiosity, enjoying them Canadian musicians lately?
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: City lights on the dark side of planets
<grins> You mean the Be Good Tanyas? Yeah!Commander_X wrote:Out of curiosity, enjoying them Canadian musicians lately?
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!
And any survivors, their debts I will certainly pay. There's always a way!
-
- ---- E L I T E ----
- Posts: 675
- Joined: Sat Aug 09, 2014 4:16 pm
Re: City lights on the dark side of planets
Heh, that's cool too! ... although I expected a comment back about either Neil Young/musician, and/or Neil Young/CanadianCody wrote:<grins> You mean the Be Good Tanyas? Yeah!
Re: City lights on the dark side of planets
Shy bump for 1.86.