Moon Normal Map of only 143k

General discussion about Celestia that doesn't fit into other forums.
Topic author
danielj
Posts: 1477
Joined: 15.08.2003
With us: 21 years 3 months

Moon Normal Map of only 143k

Post #1by danielj » 05.12.2009, 14:38

I thought that it was a compressed file,but Winzip says that is not a valid file.Someone made a 8k normal map of the Moon,but there is something wrong with the download...

abramson
Posts: 408
Joined: 22.07.2003
With us: 21 years 4 months
Location: Bariloche, Argentina

Re: Moon Normal Map of only 143k

Post #2by abramson » 05.12.2009, 17:43

Daniel, you can get mine from here or here. It's an 8k/4k/2k map from Kaguya data. The file is 7.7MB. (But I'm sure John's will be better.)

Guillermo

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

Re: Moon Normal Map of only 143k

Post #3by John Van Vliet » 09.12.2009, 09:36

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 08:15, edited 1 time in total.

JAY_1976
Posts: 20
Joined: 18.01.2008
With us: 16 years 10 months

Re: Moon Normal Map of only 143k

Post #4by JAY_1976 » 27.01.2010, 20:08

abramson wrote:Daniel, you can get mine from here or here. It's an 8k/4k/2k map from Kaguya data. The file is 7.7MB. (But I'm sure John's will be better.)

Guillermo
wow i didn't knew that this mission released height data
can someone make a bump map out of that data or convert the normal map because celestia does not render correct normal maps , it makes craters shine like they are made out of reflective material when viewed from a low angle
look at this pic
Image

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

Re: Moon Normal Map of only 143k

Post #5by t00fri » 27.01.2010, 20:18

JAY_1976 wrote:wow i didn't knew that this mission released height data
can someone make a bump map out of that data or convert the normal map because celestia does not render correct normal maps , it makes craters shine like they are made out of reflective material when viewed from a low angle

Celestia converts any bump map internally into a normal map. So that's a bad idea.
I get an excellent rendering by using MY nmtools

http://forum.celestialmatters.org/viewtopic.php?t=70
Tutorial: http://www.celestialmatters.org/?q=node/10

to make the normal map.

viewtopic.php?f=5&t=15600&start=4

Practically all other normalmap programs are incorrect for spherical bodies. Most people used my nmtools so far in the Kaguya moon context.

The best is to use John Van Vliet's latest remapped Clementine base texture together with it.

Fridger
Image

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

Re: Moon Normal Map of only 143k

Post #6by John Van Vliet » 27.01.2010, 22:43

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 08:17, edited 1 time in total.

Avatar
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 19 years 2 months
Location: Indiana, United States

Re: Moon Normal Map of only 143k

Post #7by Hungry4info » 27.01.2010, 23:46

JAY_1976 wrote: it makes craters shine like they are made out of reflective material when viewed from a low angle
Turn your Lunar Lambart off in the SSC file. That is what is causing it.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics

JAY_1976
Posts: 20
Joined: 18.01.2008
With us: 16 years 10 months

Re: Moon Normal Map of only 143k

Post #8by JAY_1976 » 28.01.2010, 01:04

the LunarLambert doesn't make any difference besides i don't want to to switch it off because it makes moons look realistic.
I don't know guys but things look to me too exaggerated with normal mapping in Celestia.I tried many normal maps with Earth Moon and Mars and they all look awful.

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

Re: Moon Normal Map of only 143k

Post #9by t00fri » 28.01.2010, 01:14

JAY_1976 wrote:the LunarLambert doesn't make any difference besides i don't want to to switch it off because it makes moons look realistic.
I don't know guys but things look to me too exaggerated with normal mapping in Celestia.I tried many normal maps with Earth Moon and Mars and they all look awful.

I hope you know that for the Moon the problem is NOT normal mapping, but the poor quality and bad matching of the Clementine base texture data with the new Kaguya elevation data. That's why John has set out to remap and match the Clementine data to the new Kaguya data that are much more accurate. If you did not use my nmtools but some other tool then this might also be a reason for poor success. With the nmtools, you simply specify the desired elevation size. Hence, if a normalmap looks exaggerated for your taste, simply lower the elevation scale.

For Mars, the story is quite analogous. Insiders know this problem since years. That's why I use a specially matched set of signed 16bit binary elevation data and 32k base texture.

But of course no-one wants to impose on you in any way ;-) .

Fridger
Image

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

Re: Moon Normal Map of only 143k

Post #10by John Van Vliet » 28.01.2010, 02:30

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 08:16, edited 1 time in total.

JAY_1976
Posts: 20
Joined: 18.01.2008
With us: 16 years 10 months

Re: Moon Normal Map of only 143k

Post #11by JAY_1976 » 28.01.2010, 02:37

Thanks :!:

I FOUND A BUMP MAP MADE FROM THE KAGUYA DATA !!

the forum is this
http://www.unmannedspaceflight.com/inde ... 6281&st=15

and the map ( TIFF 16 BIT / 26 MEg ) is this

http://unmannedspaceflight.com/assets/k ... er.tif.zip

and i feel happy now :D

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

Re: Moon Normal Map of only 143k

Post #12by John Van Vliet » 28.01.2010, 06:26

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 08:16, edited 1 time in total.

abramson
Posts: 408
Joined: 22.07.2003
With us: 21 years 4 months
Location: Bariloche, Argentina

Re: Moon Normal Map of only 143k

Post #13by abramson » 28.01.2010, 12:34

JAY_1976 wrote:I don't know guys but things look to me too exaggerated with normal mapping in Celestia.I tried many normal maps with Earth Moon and Mars and they all look awful.
Jay, I used an exaggeration of 1.8 in my normalmap (linked above). As Fridger says, you can use any value with his nmtools. Just use 1.0, or even less.

Guillermo

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

Re: Moon Normal Map of only 143k

Post #14by t00fri » 28.01.2010, 13:28

JAY_1976 wrote:Thanks :!:

I FOUND A BUMP MAP MADE FROM THE KAGUYA DATA !!

the forum is this
http://www.unmannedspaceflight.com/inde ... 6281&st=15

and the map ( TIFF 16 BIT / 26 MEg ) is this

http://unmannedspaceflight.com/assets/k ... er.tif.zip

and i feel happy now :D

...which indicates that you don't know what happens in Celestia's respective code.

As John mentioned already, Celestia does NOT accept 16bit elevation/bump maps, only 8 bit. Now 8bit elevation means that only 256 steps in altitude are possible for a celestial body. Imagine Mt. Everest on Earth, the altitude profile of which being characterized by just 256 steps...Since internally, Celestia calculates a normalmap from your input bump map, it means furthermore that gradients (<-> normal vectors ) have to be calculated from 8bit values! This MUST give highly unsatisfactory, non-smooth/noisy results, except you have a low-end machine where detail is hardly visible anyhow. ;-) . But then your above statement
...because celestia does not render correct normal maps , it makes craters shine like they are made out of reflective material when viewed from a low angle
would have to be taken as a pretty unqualified remark, with that apparently bad normalmap-based rendering being NOT Celestia's fault.

For a smooth and noiseless calculation of gradients, one DOES need 16bit input data, which correspondingly are able to specify 2 ^16 = 65536 elevation steps (instead of merely 256). My nmtools are specializing to handle signed 16bit input elevations. The entire gradient calculation is done at signed 16bit level and a truncation to the required 3x8bit RGB normalmap format only happens at the very end! That's why the result is so much superior.to Celestia's internal normalmap calculation from 8bit external bumpmap data.

Fridger
Image

JAY_1976
Posts: 20
Joined: 18.01.2008
With us: 16 years 10 months

Re: Moon Normal Map of only 143k

Post #15by JAY_1976 » 28.01.2010, 18:53

Yes it's 8 bit but that does not make any visual difference because we are
talking about bump mapping , a visual illusion , not an actual 3d polygon mesh
besides the map resolution is low compared to the height resolution ; a bigger , lets say a 16384x8192 height map would be best for a 16 bit height resolution.

Anyway the thing that i don't like is the visual output of normal maps that's why i want to use the bump map as i mentioned before.

By the way this map has an offset of 180 degrees so it must be shifted
For those who want to use it ; in GIMP do the following
Layer -> Transform -> Offset , set the X value to 2880 and press ok.

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

Re: Moon Normal Map of only 143k

Post #16by t00fri » 28.01.2010, 19:05

JAY_1976 wrote:Yes it's 8 bit but that does not make any visual difference because we are
talking about bump mapping , a visual illusion , not an actual 3d polygon mesh
besides the map resolution is low compared to the height resolution ; a bigger , lets say a 16384x8192 height map would be best for a 16 bit height resolution.

I couldn't disagree more.

Anyway the thing that i don't like is the visual output of normal maps that's why i want to use the bump map as i mentioned before.
Once again: If you use a bump map, it will nevertheless be converted by Celestia's code into a normalmap before anything is rendered!! So you CANNOT avfoid rendering via a normalmap.


By the way this map has an offset of 180 degrees so it must be shifted
For those who want to use it ; in GIMP do the following
Layer -> Transform -> Offset , set the X value to 2880 and press ok.

We discussed all these Kaguya matters in great detail before you started this thread. So most interested people know...

Fridger
Image

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

Re: Moon Normal Map of only 143k

Post #17by John Van Vliet » 28.01.2010, 22:38

--- edit ---


Return to “Celestia Users”