[Split] Planet City Lights

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: Progress

Post by Disembodied »

There might also be a place for planets with "volcanoes" in their description to have some splashes and streaks of orange/red …

To be honest, though, I'd be happy with a more-or-less linear link between tech/population and quantity of city lights, and choosing a colour - e.g. yellow - which helps differentiate it from the starfield. Arguably, high-tech planets might not leak nearly as much light pollution into the sky as we do, and some alien species might even be nocturnal. But there's a lot to be said for simplicity: having a high-population, high-tech world with its nightside continents ablaze, as compared to a low-tech backwater with only a few (if any) prickles of light, would make those differences immediately obvious. Too much subtlety and there's a risk of losing the obvious!
User avatar
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2689
Joined: Thu Jun 20, 2013 10:22 pm
Location: On the moon Thought, orbiting the planet Ignorance.

Re: Progress

Post by Redspear »

Disembodied wrote: Fri May 01, 2020 4:39 pm
high-tech world with its nightside continents ablaze, as compared to a low-tech backwater with only a few (if any) prickles of light, would make those differences immediately obvious.
That's what I was getting at, except I'm not convinced that higher tech = more lights. Higher population, yes, but once tech is high enough to have lights then I'm not sure what difference higher tech would make.

Perhaps higher tech makes more of the landmass habitable, in which case a low tech world of similar population would have intense clusters of lights, and high tech a more even spread. Or perhaps we ignore it alltogether?

dybal wrote: Fri May 01, 2020 1:21 pm
Perhaps taint the city lights matching the star hue if the population is alien (I'm assuming they are native rather than colonial, so they evolved under that sun light and should be confortable with it's color).
Makes sense to me.
User avatar
cbr
---- E L I T E ----
---- E L I T E ----
Posts: 1422
Joined: Thu Aug 27, 2015 4:24 pm

Re: Progress

Post by cbr »

If I understand correctly, all planet effect are rendered from pre calculated/made textures?

Somehow in my brain/mind I envisioned the citylights to be a realtime calculated effect ( :lol: )

So I took an old screenshot
Select in this case the green land and pasted this as a new layer in Gimp.
The new layer representing the area where one would likely find community lights.

The new layer is changed from Green to White with filtering ( noice ed) and is added as lighten only layer.

Result in this animated gif, not actual gameplay ;)
picture 1 original image, this one has gif conversion artifacts
picture 2 simulated darkening
picture 3 simulated darkening plus added citylights layer
picture 4 simulated darkening

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

Re: Progress

Post by another_commander »

cbr wrote: Sat May 02, 2020 1:20 pm
If I understand correct, all planet effect are rendered from pre calculated/made textures?
Just to be perfectly clear, all default planet effects are generated by textures calculated and created internally in real time.
All effects for custom planets (i.e. planets that define a "texture" property in their planetinfo entry) are generated by pre-made textures, supplied in planetinfo.plist.
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: Progress

Post by Disembodied »

Redspear wrote: Fri May 01, 2020 5:46 pm
Disembodied wrote: Fri May 01, 2020 4:39 pm
high-tech world with its nightside continents ablaze, as compared to a low-tech backwater with only a few (if any) prickles of light, would make those differences immediately obvious.
That's what I was getting at, except I'm not convinced that higher tech = more lights. Higher population, yes, but once tech is high enough to have lights then I'm not sure what difference higher tech would make.

Perhaps higher tech makes more of the landmass habitable, in which case a low tech world of similar population would have intense clusters of lights, and high tech a more even spread. Or perhaps we ignore it alltogether?
True, the amount of lights would tail off at a certain tech point - although a planet's TL isn't universal: our own nominally TL7 planet still has places where the local TL is closer to 4 or 5. Maybe a really high TL planet represents one where the technology for city lights is much more widespread.

Alternatively, perhaps at high TLs, the lights become less constrained by geography - as well as coastlines and clusters, there could be huge grids and concentric mandalas, etc., representing not just cityscapes but huge automated industries.
User avatar
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2689
Joined: Thu Jun 20, 2013 10:22 pm
Location: On the moon Thought, orbiting the planet Ignorance.

Re: Progress

Post by Redspear »

Disembodied wrote: Sat May 02, 2020 3:39 pm
True, the amount of lights would tail off at a certain tech point - although a planet's TL isn't universal: our own nominally TL7 planet still has places where the local TL is closer to 4 or 5. Maybe a really high TL planet represents one where the technology for city lights is much more widespread.
I think it's not clear what would happen with regards tech level and so I'd be inclined to either randomise or ignore :P

Disembodied wrote: Sat May 02, 2020 3:39 pm
Alternatively, perhaps at high TLs, the lights become less constrained by geography - as well as coastlines and clusters, there could be huge grids and concentric mandalas, etc., representing not just cityscapes but huge automated industries.
Er, yeah...
Redspear wrote: Fri May 01, 2020 5:46 pm
Perhaps higher tech makes more of the landmass habitable, in which case a low tech world of similar population would have intense clusters of lights, and high tech a more even spread.
User avatar
GearsNSuch
Dangerous
Dangerous
Posts: 76
Joined: Wed Jul 03, 2019 10:27 am

Re: Progress

Post by GearsNSuch »

The new planet textures and city lights are fantastic!

I saw it mentioned before, but in my opinion the simplest, clearest way for them to reflect tech level is to shift from dim fire-reddish at low TLs to incandescent-yellow at the middle and LED bluish-white at high TLs.
The other suggestions about tinting them to match the star or the species are interesting and could look pretty neat, but if the lights are meant to be an indicator of the planet’s qualities above all else, this color tinting method are, in my opinion, clearest.

Also has probably been said before, but perhaps lights on an agricultural planet could be spread out (think farms & cottage industries) while industrial planets have them bunched together in cities. Not necessarily a difference in quantity, but spread.

I really appreciate all the work being put in to the details! They are what make the immersion.
User avatar
cbr
---- E L I T E ----
---- E L I T E ----
Posts: 1422
Joined: Thu Aug 27, 2015 4:24 pm

Re: Progress

Post by cbr »

Coloring to reflect TL would be a nice way to differentiate


Heres a simulated low TL with reddish lights

Image

Image
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: Progress

Post by Disembodied »

Redspear wrote: Sat May 02, 2020 7:58 pm
I think it's not clear what would happen with regards tech level and so I'd be inclined to either randomise or ignore :P
I think the question shouldn't be "what would happen?" so much as "how can the differences between planets - e.g. population, technology, and economy, which tend to be intertwined - be signalled visually to the player?" So TL1-4: from no lights to a few reddish-orange flickers and patches; TL5-8: increasing volumes of orange to yellow clusters, becoming dense in places depending on population; TL9-12: larger yellow to white clusters and connecting networks; TL13+: larger yellow to white clusters, connecting networks, and grids/concentric circles/structures.

I think it's work keeping a yellowish tinge to even high-tech city lights, if only to differentiate them from background stars. Something something passing through the planet's atmosphere something pollution …
Redspear wrote: Fri May 01, 2020 5:46 pm
Perhaps higher tech makes more of the landmass habitable, in which case a low tech world of similar population would have intense clusters of lights, and high tech a more even spread.
:oops: yes, great idea! :D
GearsNSuch wrote: Sat May 02, 2020 8:47 pm
perhaps lights on an agricultural planet could be spread out (think farms & cottage industries) while industrial planets have them bunched together in cities. Not necessarily a difference in quantity, but spread.
Yes, good point. There would still be cities/clusters, but more of a tendency towards a thinner scattering.
User avatar
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2689
Joined: Thu Jun 20, 2013 10:22 pm
Location: On the moon Thought, orbiting the planet Ignorance.

Re: Progress

Post by Redspear »

Disembodied wrote: Sun May 03, 2020 9:55 am
I think the question shouldn't be "what would happen?" so much as "how can the differences between planets - e.g. population, technology, and economy, which tend to be intertwined - be signalled visually to the player?"
The complication here, I would argue, is that because it's implicit rather than explicit it would need to be an intuitive association.

More people = more lights is pretty intiutive but as for higher tech I don't think it's intuitive at all. Demand for light is determined by population, inhabitants and (perhaps) economy. Tech level would have more to do with supply but for a trading world again, that would likely have more to do with economy (rich or poor). I've been to some very poor yet well lit places...

Disembodied wrote: Sun May 03, 2020 9:55 am
:oops: yes, great idea! :D
:D Should I be flattered?...

Disembodied wrote: Sun May 03, 2020 9:55 am
I think it's work keeping a yellowish tinge to even high-tech city lights, if only to differentiate them from background stars.
:wink:
Redspear wrote: Fri May 01, 2020 9:25 am
Yellow might be the common colour today but we've been moving towards white for some time now. White is less distinct from a starfield background however.
:P
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: Progress

Post by Disembodied »

Redspear wrote: Sun May 03, 2020 12:22 pm
Disembodied wrote: Sun May 03, 2020 9:55 am
I think it's work keeping a yellowish tinge to even high-tech city lights, if only to differentiate them from background stars.
:wink:
Redspear wrote: Fri May 01, 2020 9:25 am
Yellow might be the common colour today but we've been moving towards white for some time now. White is less distinct from a starfield background however.
:P
It's increasingly obvious that one or other of us is a sockpuppet account, and I've got a horrible feeling that it might be me …
User avatar
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2689
Joined: Thu Jun 20, 2013 10:22 pm
Location: On the moon Thought, orbiting the planet Ignorance.

Re: [Split] Planet City Lights

Post by Redspear »

Disembodied wrote: Sun May 03, 2020 1:35 pm
It's increasingly obvious that one or other of us is a sockpuppet account, and I've got a horrible feeling that it might be me …
:lol:
User avatar
GearsNSuch
Dangerous
Dangerous
Posts: 76
Joined: Wed Jul 03, 2019 10:27 am

Re: Progress

Post by GearsNSuch »

Disembodied wrote: Sun May 03, 2020 1:35 pm
It's increasingly obvious that one or other of us is a sockpuppet account, and I've got a horrible feeling that it might be me …
Image
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: Progress

Post by Disembodied »

GearsNSuch wrote: Sun May 03, 2020 6:52 pm
Disembodied wrote: Sun May 03, 2020 1:35 pm
It's increasingly obvious that one or other of us is a sockpuppet account, and I've got a horrible feeling that it might be me …
Image
It's a fair cop …
User avatar
cbr
---- E L I T E ----
---- E L I T E ----
Posts: 1422
Joined: Thu Aug 27, 2015 4:24 pm

Re: [Split] Planet City Lights

Post by cbr »

Again for studying texture/lighting here I took a povray planet texture G1.

Added een mask in de alpha channel of the diffusemap.

Created a normalmap and in it's alpha channel added a 'citylights' map/channel

As the citylights information is stored a an alpha channel it means the whole planet uses the same citylights color

Replaced these in the citylights example.oxp

Image
Post Reply