32k Spec Map Case

Tips for creating and manipulating planet textures for Celestia.
Topic author
DBrady
Posts: 66
Joined: 14.07.2003
With us: 21 years 2 months
Location: Sydney

32k Spec Map Case

Post #1by DBrady » 13.09.2003, 18:49

t00fri,
I tend to disagree with you on this matter. After making some 32k tiles, and seeing them in action, i can only presume that you are against using anything over 4k for a spec map purely for memory reasons. If so, you are underestimating the improvement in viewing quality achieved by such maps. I think a picture or two speaks louder then words can so...

Image

Image
In the above picture you can clearly see the distinction between the 32k(bottom left) and 4k(topright).

In my eyes the 32k is far, FAR superior to the 4k - for lakes AND land edges.
I do agree though that a 32k normal map should be first priority, after a 32k base map, but a spec map runs a close second.
Last edited by DBrady on 02.01.2004, 15:32, edited 1 time in total.
Slan

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

Post #2by ElPelado » 13.09.2003, 19:22

I must agree! those pictures look woderfull!!!
---------X---------
EL XENTENARIO
1905-2005

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

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 6 months
Location: Hamburg, Germany

Post #3by t00fri » 13.09.2003, 19:57

DBrady,

you almost convinced me;-). You images do look nice! But I feel that at least my engine will run out of steam...

Bye Fridger

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 6 months
Location: Hamburg, Germany

Post #4by t00fri » 13.09.2003, 19:58

Last edited by t00fri on 13.09.2003, 20:58, edited 2 times in total.

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

Post #5by JackHiggins » 13.09.2003, 20:51

Yes, we do really need a 32k virtualtex specmap. (but normalmap first!) DBrady, those pictures look fantastic!! :D

Fridger wrote:you almost convinced me;-). Your images do look nice! But I feel that at least my engine will run out of steam with 32k base map, 32k normal map, 16 nightlights and 32k spec's...

I'm willing to try it out though...!! 32k nightlights would be great too- where's your program for making virtual tex tiles t00fri? I can't seem to find it anywhere...
- Jack Higgins
Jack's Celestia Add-ons
And visit my Celestia Gallery too!

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 6 months
Location: Hamburg, Germany

Post #6by t00fri » 13.09.2003, 20:55

JackHiggins wrote:Yes, we do really need a 32k virtualtex specmap. (but normalmap first!) DBrady, those pictures look fantastic!! :D

Fridger wrote:you almost convinced me;-). Your images do look nice! But I feel that at least my engine will run out of steam with 32k base map, 32k normal map, 16 nightlights and 32k spec's...
I'm willing to try it out though...!! 32k nightlights would be great too- where's your program for making virtual tex tiles t00fri? I can't seem to find it anywhere...


Too bad;-)

Here it is...

http://www.shatters.net/~t00fri/virtualtex

Bye Fridger

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

Post #7by JackHiggins » 13.09.2003, 21:03

Aww I thought it was an exe file! :( I have no software for compiling something like this either... Hm.. Guess i'll just have to wait so...
- Jack Higgins

Jack's Celestia Add-ons

And visit my Celestia Gallery too!

jim
Posts: 378
Joined: 14.01.2003
With us: 21 years 8 months
Location: Germany

Post #8by jim » 13.09.2003, 21:41

Hi DBrady,

That's exact what I mean. I could present similar pictures with the same result. Further it will be needed a base VT512 specular map for my high level tiles.

Bye Jens

Buzz
Posts: 264
Joined: 31.01.2002
With us: 22 years 8 months
Location: The Netherlands

Post #9by Buzz » 13.09.2003, 23:03

Very nice Dbrady! I agree my old 8k spec map is not good enough for the resolutions we see today... Unfortunately the GIS web site I used to make it is shut down. Where did you get your data?

Topic author
DBrady
Posts: 66
Joined: 14.07.2003
With us: 21 years 2 months
Location: Sydney

Post #10by DBrady » 13.09.2003, 23:13

Buzz,
At the moment i just cut up the 32k texture into manageable 8k sizes. Load each in gimp then...
1. select by colour 15%- click on oceans
2. invert selection
3. cut
4. image/ mode/ grayscale
5. colors/ invert
6. save

Its quite a crude method but is all i could think of. I have thought about trying to extract the nodata value from the Globe DEM's and making one that way - but it will take a while to see if thats possible.
Slan

wcomer
Posts: 179
Joined: 19.06.2003
With us: 21 years 3 months
Location: New York City

Post #11by wcomer » 14.09.2003, 00:07

Are there good reasons for not using DBrady's method? Please provides pro's and con's.

If this seems like a reasonable approach, I can use GIMP's CLI to put together a complete 32k spec map, which will likely compress very well. Hopefully Mario would be willing to host it.

While on the subject of spec maps. Do they have to be black and white, or is it possible to use grey scales? The reason is that ice is a nearely perfect reflector. Desert sands should cause noticable specular effects but not as strong as ice or water. I've seen shuttle photos of the specular effects of the swamps of sudan as well, but again this isn't as strong as ocean water, and doesn't have any clearly defined border. There is quite a bit which could be worked in into a a spec map; I'm sure the celestia community could think of many more.
Walton

bh
Posts: 1547
Joined: 17.12.2002
With us: 21 years 9 months
Location: Oxford, England

Post #12by bh » 14.09.2003, 00:09

I guess a 32k spec map wil be a virtual texture...right? If so, how do we implement it and when will it be ready....Looks fantastic!

To be honest...I'd rather have the spec map than the 'normal' map...I'm having a lot of problems getting any sort of bump map to work properly. I know...buy a new computer...blah...blah. (Ihave a slight bias towards the water...I've always been a bit bit fishy!).

I'm very happy with the way it's looking so far...I'm sure you guys know what you're doing and am looking forward to the latest releases!

bh.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 6 months
Location: Hamburg, Germany

Post #13by t00fri » 14.09.2003, 10:30

JackHiggins wrote:Aww I thought it was an exe file! :( I have no software for compiling something like this either... Hm.. Guess i'll just have to wait so...


Jack,

not at all. Just install besides ImageMagic (Q8 version) for Windows, Cygwin for Windows via a trivial setup program , including the zsh ("z-shell") and you are ready to go. Put virtualtex into the /usr/local/bin directory of the Cygwin "unix" tree.

ImageMagic is good to have anyhow. It's a very powerful image manipulation package...

Bye Fridger

jim
Posts: 378
Joined: 14.01.2003
With us: 21 years 8 months
Location: Germany

Post #14by jim » 14.09.2003, 20:06

Hi,

Here is another 128k example with 128k spec map compared with the 32k BlueMarble map with 8k spec map.

Bye Jens

Image

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

Post #15by ElPelado » 14.09.2003, 20:57

Beautifull view!
---------X---------

EL XENTENARIO

1905-2005



My page:

http://www.urielpelado.com.ar

My Gallery:

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

bh
Posts: 1547
Joined: 17.12.2002
With us: 21 years 9 months
Location: Oxford, England

Post #16by bh » 14.09.2003, 21:09

Blimey...stunning...I really do think we may see some waves soon. Now, what are those Islands called again!

Regards...bh.

Buzz
Posts: 264
Joined: 31.01.2002
With us: 22 years 8 months
Location: The Netherlands

Post #17by Buzz » 15.09.2003, 16:32

Hi DBrady,

Thanks for explaining your approach. It really works out very well! I have tried it too before using other methods but was not very succesful.

I would not recommend to use elevation data, as there are many dry areas on earth that are well below sea level, for example a substantial part of the country I live in, including the location where this message was typed! :D Other examples: death valley, a part of Egypt, the area around the dead sea and I am sure there ar more.

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

Post #18by ElPelado » 15.09.2003, 21:05

As far as I know, the area around the Dead Sea its 500m aunder the sea level.
---------X---------

EL XENTENARIO

1905-2005



My page:

http://www.urielpelado.com.ar

My Gallery:

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

wcomer
Posts: 179
Joined: 19.06.2003
With us: 21 years 3 months
Location: New York City

spec map ideas

Post #19by wcomer » 17.09.2003, 23:08

Hi all,

I went with DBrady's idea but took a different avenue. Instead I.
1. select by color 20% - click on oceans (I think 20% captures the landlocked water more accurately without many mistakes.)
2. image/mode/grayscale - convert to greyscale.
3. imade/colors/invert - invert the water color.
4. image/colors/levels set input level to 0, 0.40, 255 - change the color levels to darken the land masses.
5. save

Notice that I don't cut the landmasses out. Instead I have a spec map that has high reflectivity for bright parts of the landmass. The modification of the color levels causes darkens all but the lightes part of the landmasses. The end result is that snow and ice are highly reflective; desert regions tend to be of moderate refectivity, with a few exceptions; while most everything else takes on a very mild reflectivity that is probably more realistic than having none at all. Here is a sequence as the sun passes over australia.

Image
Image
Image
Image

Here is a shot without the specular map. I took shots without at all four intervals but cannot distinguish between them.

Image

Here is a reduced .png of the spec map relevant to these shots.

Image

Currently these are as 8 8kx8k .png. I need to convert them to a full virtual texture of 512x512 .dxt's, but first I'd like to get feedback as to whether this is an appropriate approach to spec maps.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 6 months
Location: Hamburg, Germany

Post #20by t00fri » 17.09.2003, 23:27

Walton,

with my due respect, but I think these spec images look rather horrible (sorry for my straight "Hamburg manners";-))

Or did I overlook something crucial?

Bye Fridger


Return to “Textures”