32k night lights virtual texture

Tips for creating and manipulating planet textures for Celestia.
Topic author
jim
Posts: 378
Joined: 14.01.2003
With us: 21 years 10 months
Location: Germany

32k night lights virtual texture

Post #1by jim » 22.09.2003, 23:56

Hi all,

I build a 32k night lights virtual texture. See my shots and tell me if it makes sence to have a night light map in 32k. I have no performance problems with my Duron900/GF3 64mb/512mb ram. By removing all unnecessary tiles I could reduce the number of tiles from 2730 to 1097.
( My old computer needs only one hour to build the level5/32k/1,5GByte inclusive DDS compession.)

Ok now the shots:

Image
Philadelphia / New York

Image
Portugal / Spain

Image
Japan

You have sure noticed that my colors a bit different from that what you know as night lights. Please have a look at some real pictures ;-).

And the best is I found my home towm :D.

Bye Jens

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 21 years 6 months
Location: West Yorkshire, England

Post #2by TERRIER » 23.09.2003, 00:15

Jens

See my shots and tell me if it makes sence to have a night light map in 32k.


Yes please, it makes a lot of sense to me!

Would your texture also include aurora ?

regards
TERRIER
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

Topic author
jim
Posts: 378
Joined: 14.01.2003
With us: 21 years 10 months
Location: Germany

Post #3by jim » 23.09.2003, 00:31

TERRIER wrote:Would your texture also include aurora ?TERRIER


No it has no aurora.

Bye Jens

ElPelado
Posts: 862
Joined: 07.04.2003
With us: 21 years 7 months
Location: Born in Argentina
Contact:

Post #4by ElPelado » 23.09.2003, 12:51

it looks ok, but in my opinion they dont look like night lights...
but i want to try it, so when will it be available?
---------X---------
EL XENTENARIO
1905-2005

My page:
http://www.urielpelado.com.ar
My Gallery:
http://www.celestiaproject.net/gallery/view_al ... y-Universe

Topic author
jim
Posts: 378
Joined: 14.01.2003
With us: 21 years 10 months
Location: Germany

Post #5by jim » 23.09.2003, 18:33

Hi all,

Have a look at a real pictiure. http://earthobservatory.nasa.gov/Newsro ... g_id=11278

I have my night lights now uploaded. See on my web page.

Bye Jens

Brendan
Posts: 296
Joined: 15.07.2003
With us: 21 years 4 months
Location: Bellows Falls, VT
Contact:

Post #6by Brendan » 23.09.2003, 21:09

Coud it be sodium vapor lights that make the night lights orange?

Brendan

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #7by don » 23.09.2003, 22:38

jim wrote:Hi all,

Have a look at a real pictiure. http://earthobservatory.nasa.gov/Newsro ... g_id=11278

Hi Jens,

Yes, this is a "real" picture, but one taken with a hand-held electronic camera through the ISS windows ("...from the International Space Station with the handheld eclectronic still camera..."). Most, if not all "night" photos taken with automatic exposure hand-held cameras make lights appear to be orangish.

However, if you take a look at satellite photographs of the Earth's night lights, you will see the difference...

Image

http://svs.gsfc.nasa.gov/vis/a000000/a002200/a002276/index.html

Image

http://www.gsfc.nasa.gov/topstory/2003/0815citylights.html

Image

Image

http://www.nasm.si.edu/galleries/lae/html/orb_land_4.htm

Hope this helps,

-Don G.

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #8by don » 23.09.2003, 22:52

Brendan wrote:Coud it be sodium vapor lights that make the night lights orange?

Hi Brendan,

At very low altitudes (ie. aircraft on approach to a city), the difference in illumination chemical types may be noticable. But, I don't think this would be the case for higher altitudes -- though I might be wrong.

-Don G.

Topic author
jim
Posts: 378
Joined: 14.01.2003
With us: 21 years 10 months
Location: Germany

Post #9by jim » 24.09.2003, 00:03

Hi Don,

Thanks for this pictures. But I think that this satelite photos are far away from real (natural) colors. I found this statement about the satelites "The DMSP-OLS has a unique capability to detect low levels of visible-near infrared (VNIR) radiance at night."

My sample link is not the only night light picture I have seen. Photos from Londen, Paris, lights along the Nil and S?o Paulo shows similar colors. Sure my night lights are still to bright however this is a concession to the limit of our computers. Further lacks it at some details. Its a bit to blotty. Now the quality of the source map was not better.

Bye Jens

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #10by don » 24.09.2003, 00:28

Hi Jens,

You can certainly use whatever color you like. :) The further up one goes, I would expect the color of city lights to become more color-distorted because of the atmosphere.

But before you make your final decision, please do like I did, and spend several hours searching the Internet for "night lights" along with whatever other keywords you would like. Then, when you find photos, read what the photo was taken with and how the picture was taken (ie. snapshot camera, single exposure, multiple exposure, timed exposure, film, CCD, etc., etc.).

Most, if not all, of the orangish light photos I found were taken by astronauts from the space stations or shuttle. These were taken with hand-held, single exposure, snapshot cameras -- some film and some CCD. There are no multiple exposure photos, because the shuttle and/or space station move too fast -- the pictures would not overlap correctly.

On the other hand, all of the white light photos I found were taken with a satellite. If you read about how these pictures were taken, you will find that most are multiple exposures over many days, weeks and even months. Then, the individual pictures are combined in a special process which brings out the light. The same thing can be done with snapshot cameras, but the camera and subject must both be stationary.

I'm sure Fridger could explain this in more detail since he is an optics and telescope making amateur. It's all about gathering light to the highest possible extent, which satellites and multiple exposure scene shots do quite nicely. Single shot, snapshot cameras do not do a good job at this.

-Don G.

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 21 years 6 months
Location: West Yorkshire, England

Post #11by TERRIER » 24.09.2003, 01:43

I'd really like to see level 10 detail of some cities at night, and I've got to say the image of Buenos Aries in Jens' link looks pretty good. It would make those night side orbits a bit more interesting!

If it means using still camera images to get the best results to achieve this and having similar yellowish colours for the lesser resolution levels so the transition between levels is not noticeable when you zoom in, then I'm happy with it! I don't think it would be a bad idea just to call the entire vitual texture 'Still Camera night lights'.

Is it possible to run both a 'satellite' night light texture and a 'still camera' night texture both with the correct effect and have one as an alternate texture? In which case we have the best of both worlds.

Jens
It'd be nice to see a level 10 experiment with a city if possible? to see how it would look when zooming in from level 0. Maybe Buenos Aries ? - I reckon I can think of someone who would be quite happy to see this!

regards
TERRIER
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 21 years 6 months
Location: West Yorkshire, England

Post #12by TERRIER » 24.09.2003, 11:16

I'll answer my own question here!

Is it possible to run both a 'satellite' night light texture and a 'still camera' night texture both with the correct effect and have one as an alternate texture? In which case we have the best of both worlds.


Yes you can. I'm running Don Edwards lights and aurora texture with my standard Earth texture and Jens new nightlights with my alternate 32k blue marble texture.

Here's my latest ssc Earth texture settings in solarsys using Jens newly available normalmap and specularmap VTs;

Code: Select all

"Earth" "Sol"
{
   Texture "earthnewdon.dds"
   NightTexture  "lights-aurora4k.dds"

   SpecularTexture "earth-spec.ctx"
   NormalMap "earth-normal.ctx"


and my complete settings in BlueMarble DDS.ssc;

Code: Select all

AltSurface "Earth 32k" "Sol/Earth"
{
   Color [ 0.85 0.85 1.0 ]
   Texture "BlueMarble DDS.ctx"
SpecularTexture "earth-spec.ctx"
NormalMap "earth-normal.ctx"
NightTexture "earthnight.ctx"
SpecularColor [ 0.5 0.5 0.55 ]
SpecularPower 25.0
HazeColor [ 1 1 1 ]
HazeDensity 0.3
}


And it looks as if everything is working fine.
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

ElPelado
Posts: 862
Joined: 07.04.2003
With us: 21 years 7 months
Location: Born in Argentina
Contact:

Post #13by ElPelado » 24.09.2003, 12:59

TERRIER: where you thinking about me?
Sure I will love to see the night lights from Buenos Aires in level10. On my holydays I went to Buenos Aires in plane, and i arrived ad night. It was an amazing view! there where withe, yellow and orange lights. Very beautifull. I am hoping to see something like that in Celestia.
It will be also good to see level10 night lights from other important cities in the world. I think that we can start from capitals: Buenos Aires, Santiago de Chile, Montevideo, La Paz, Brasilia, Mexico DF, Washington DC, Paris, Berlin... well, you know what I am talking about.
What do you think? Is it doable?
---------X---------

EL XENTENARIO

1905-2005



My page:

http://www.urielpelado.com.ar

My Gallery:

http://www.celestiaproject.net/gallery/view_al ... y-Universe

JackHiggins
Posts: 1034
Joined: 16.12.2002
With us: 21 years 11 months
Location: People's Republic Of Cork, Ireland

Post #14by JackHiggins » 24.09.2003, 20:58

Because night lights, like normal planet surfaces, are affected by the atmosphere you're viewing through, shouldn't there be some kind of "haze" for the dark side of a planet too...?

Just an idea!
- Jack Higgins
Jack's Celestia Add-ons
And visit my Celestia Gallery too!

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 21 years 6 months
Location: West Yorkshire, England

Post #15by TERRIER » 24.09.2003, 22:50

El Pelado

Ho Ho! Yep, I can't think of anyone else from Argentina on the forum, but maybe I'm wrong?

At the current time with version 1.3.1p11 I guess that going to level 10 resolution for nightlights is the ultimate direction for this particular feature. It would be great to see a few major cities / conurbations at this level of detail.

It'd also be nice to watch a city turn from night to day or vice versa!

regards
TERRIER
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

Guest

Post #16by Guest » 24.09.2003, 23:46

TERRIER...sync orbit. Position yourself above, say...I don't know...Florida at a low altitude and up the speed...great fun!....Even better from the shuttle!

Regards...bh. (not logged in again!).

ElPelado
Posts: 862
Joined: 07.04.2003
With us: 21 years 7 months
Location: Born in Argentina
Contact:

Post #17by ElPelado » 25.09.2003, 12:13

there is a problem with this virtual texture: have anybody tryed to see the KSC in level10 texture and the nightlights virtual textures? it looks very bad...
---------X---------

EL XENTENARIO

1905-2005



My page:

http://www.urielpelado.com.ar

My Gallery:

http://www.celestiaproject.net/gallery/view_al ... y-Universe

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 21 years 6 months
Location: West Yorkshire, England

Post #18by TERRIER » 25.09.2003, 12:38

Yes, it looks as if there are strange luminous banks of fog coming in from the sea.

Is this because the alignment is out, or simply because a level 5 texture is being mixed with a much greater resolution level 10 texture?

I don't think it is being totally fair, expecting the level 5 and the higher resolution tiles up to level 10, to match up!
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

Topic author
jim
Posts: 378
Joined: 14.01.2003
With us: 21 years 10 months
Location: Germany

Post #19by jim » 25.09.2003, 19:03

Hi all,

ElPelado wrote:there is a problem with this virtual texture: have anybody tryed to see the KSC in level10 texture and the nightlights virtual textures? it looks very bad...

Here is a little bug fix for this problem. Add for all missed levels empty level folder to speculare VT and all works fine. This is also a general tip by problems with virtual textures.

Image

TERRIER wrote:Jens
It'd be nice to see a level 10 experiment with a city if possible? to see how it would look when zooming in from level 0. Maybe Buenos Aries ? - I reckon I can think of someone who would be quite happy to see this!


Sorry Terrier, I have at the moment no plans to do such work. :-(
But I plan to write a post about my virtual texture tools and scripts and how to use them. Maybe you can build than you own addons ;-).

Bye Jens

billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #20by billybob884 » 02.10.2003, 22:17

So how is this coming? I can't wait to download it!
Mike M.

TacoTopia!


Return to “Textures”