Using the Nmtools package
-
Topic authort00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
Fightspit,
Guillermo is of course right. Your "altitude lines" are a typical sign that you got the byteswap wrong! If done correctly, the normalmap must be COMPLETELY smooth, like on Guillermo's test images!!!
Also just make sure that you use the recommended exag=2.5 factor for the normalmap scaling.
Good luck,
Fridger
Guillermo is of course right. Your "altitude lines" are a typical sign that you got the byteswap wrong! If done correctly, the normalmap must be COMPLETELY smooth, like on Guillermo's test images!!!
Also just make sure that you use the recommended exag=2.5 factor for the normalmap scaling.
Good luck,
Fridger
What I show in my just previous pust (sorry but it is the last post in page number 4 ):
_________________
I probably use a byteswap but it is just today that I learn my mistake.
Fightspit wrote:I used a .bat file like you but not the exactely same script and I am remember when I put a < and a > in the .bat file, I get a 0< and a 1> in the console (there is a number in front of < or >). I thought it wasa 'bug' of my console but there was no problem about generating of the normal map.
For exemple if a do in my script:
Code:
halfsize 65536 < srtm_ramp2.world.64k.bin > srtm_ramp2.world.32k.bin
I get in my console:
Code:
halfsize 65536 0< srtm_ramp2.world.64k.bin 1> srtm_ramp2.world.32k.bin
It is a little strange ... but it has worked.
I will retry again without the script.
_________________
I probably use a byteswap but it is just today that I learn my mistake.
Motherboard: Intel D975XBX2
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits
-
Topic authort00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
Fightspit,
as far as I know you have a PC and not a Mac. So your machine is little-endian as you should also be told once you start any of the nmtools without arguments.
Since the original heightmap from the arctic server is big-endian you need exactly ONE byteswap with your first tool, which is resc2pow2. No other byteswaps anywhere later.
People who prefer to do things different from what I wrote in the tutorial, will easily get WRONG results without sufficient experience.
Just like your incorrect normalmap above.
The nmtools work so fast that it is better to do the first round by hand, following EXACTLY my instructions. Once you know how the correct 64k NM should look like, you are all set for further experiments.
Bye Fridger
as far as I know you have a PC and not a Mac. So your machine is little-endian as you should also be told once you start any of the nmtools without arguments.
Since the original heightmap from the arctic server is big-endian you need exactly ONE byteswap with your first tool, which is resc2pow2. No other byteswaps anywhere later.
People who prefer to do things different from what I wrote in the tutorial, will easily get WRONG results without sufficient experience.
Just like your incorrect normalmap above.
The nmtools work so fast that it is better to do the first round by hand, following EXACTLY my instructions. Once you know how the correct 64k NM should look like, you are all set for further experiments.
Bye Fridger
I finally got around to actually testing the normal map within Celestia, and I am happy to report that it preforms as expected.
The small city I call home, with St. Louis on the other side of the river:
Fancy!
I did notice something a little funky near by though. There seems to be little "holes" in the ground. I'm not sure if it's something I did, or just the original data.
Here's a CEL URL thingy of the location.
The small city I call home, with St. Louis on the other side of the river:
Fancy!
I did notice something a little funky near by though. There seems to be little "holes" in the ground. I'm not sure if it's something I did, or just the original data.
Here's a CEL URL thingy of the location.
AMD Athlon X2 4400+; 2GB OCZ Platinum RAM; 320GB SATA HDD; NVidia EVGA GeForce 7900GT KO, PCI-e, 512MB, ForceWare ver. 163.71; Razer Barracuda AC-1 7.1 Gaming Soundcard; Abit AN8 32X motherboard; 600 watt Kingwin Mach1 PSU; Windows XP Media Center SP2;
-
Topic authort00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
Fightspit wrote:Now, it works for me !
Indeed! Congratulations!
Now it's as it should be.
I guess the earlier problem was the lacking 'byteswap'?
Bye Fridger
Last edited by t00fri on 09.01.2007, 20:21, edited 1 time in total.
-
Topic authort00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
Johaen wrote:I finally got around to actually testing
the normal map within Celestia, and I am happy to report
that it preforms as expected.
The small city I call home, with St. Louis on the other side
of the river:
Fancy!
...
Johaen,
congrats as well! I love to see these incoming "success
reports"! Perhaps they even have a motivating effect on
our "Enduser (Daniel) ", by proving that all this
is NOT overly difficult...
Bye Fridger
Last edited by t00fri on 09.01.2007, 20:21, edited 1 time in total.
t00fri wrote:...and by the way...
The first >= 32k normalmap of Mars
that is showing up here wins a virtual
bottle of premium German beer!
Off you go...
Enjoy,
Bye Fridger
I think I can win ?
http://jmars.asu.edu/data/
Motherboard: Intel D975XBX2
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits
-
Topic authort00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
Fightspit wrote:t00fri wrote:...and by the way...
The first >= 32k normalmap of Mars
that is showing up here wins a virtual
bottle of premium German beer!
Off you go...
Enjoy,
Bye Fridger
I think I can win ?
http://jmars.asu.edu/data/
That's NOT it, of course.
I want to see a CORRECT one. You must have learned
meanwhile that only the nmtools produce
normalmaps that are correct for Celestia's
spherical objects. So we want a >=32k Mars
normalmap consisting of 1kx1k VT DXT5nm tiles, entirely
produced with the nmtools, and thus implementing all
optimizations and correct spherical geometry
Bye Fridger
I??m still downloading the elevation data.The download is being unbelivealbly slow...
t00fri wrote:Fightspit wrote:t00fri wrote:...and by the way...
The first >= 32k normalmap of Mars
that is showing up here wins a virtual
bottle of premium German beer!
Off you go...
Enjoy,
Bye Fridger
I think I can win ?
http://jmars.asu.edu/data/
That's NOT it, of course.
I want to see a CORRECT one. You must have learned
meanwhile that only the nmtools produce
normalmaps that are correct for Celestia's
spherical objects. So we want a >=32k Mars
normalmap consisting of 1kx1k VT DXT5nm tiles, entirely
produced with the nmtools, and thus implementing all
optimizations and correct spherical geometry
Bye Fridger
-
Topic authort00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
danielj wrote:I??m still downloading the elevation
data.The download is being unbelivealbly slow...
...
The download is pretty fast, if you have a sufficiently fast
DSL line. I have also described in detail in
CelestialMatters how to make it fast in case it appears
slow.
I assume you are using Firefox, instead of Internet
Explorer. Firefox supports all sorts of amazing add-ons,
one being called "DownThemAll". While the bandwidth for
conventional download is seriously limited by the server,
this add-on chops the file into up to 10 chunks that are
downloaded in parallel such that you may exploit fully
your own line bandwidth! At the end, the chunks are
merged again within seconds on your machine.
Clearly if you download with a modem, then you need
patience. Then I can't help you. But then it would take even
longer to download a finished 64k normalmap VT set from
the Motherlode.
Bye Fridger
t00fri wrote:...and by the way...
The first >= 32k normalmap of Mars
that is showing up here wins a virtual
bottle of premium German beer!
Off you go...
Enjoy,
Bye Fridger
You know, I'd love to do this, but I'm having a hell of a time finding an appropriate texture to use as a starting point. I've searched google pretty extensively, but I'm coming up empty. I keep finding mentions of Mario's spacegraphics site, but it seems to be gone. I tried spacegraphics.net/com/org, and none of them seem to be what I'm looking for. And so I'm at a bit off a loss here. But I do have some better news, which I'll put in a different post.
AMD Athlon X2 4400+; 2GB OCZ Platinum RAM; 320GB SATA HDD; NVidia EVGA GeForce 7900GT KO, PCI-e, 512MB, ForceWare ver. 163.71; Razer Barracuda AC-1 7.1 Gaming Soundcard; Abit AN8 32X motherboard; 600 watt Kingwin Mach1 PSU; Windows XP Media Center SP2;
I can change directory,but it didn??t recognize such as command: cd "D:\GnuWin32".
What am I doing wrong?
What am I doing wrong?
Fightspit wrote:In DOS, to change directory is :Code: Select all
cd yourfolder
Exemple: you are at C:\Documents and Settings\User and you want go to My Document, you just type:Code: Select all
cd "My Document"
Note: If your folder name has a space, you must put a "..."
Also, instead of doing several cd you can put a \ after your folder like this:Code: Select all
cd "My Document\folder1\folder2\...\folder26" and so on...
And more, you can press several time on tab (tabulation) after typing cd to chose several folder that you can go to.
Since Fridger hasn't finished his nmtools guide (specifically the "An appropriate 64k BMNG base texture" section) I took matters into my own hands.
I used Jestr's awesome 64K Jestr Earth Mark II (VT/DDS), replacing the included normal map with my new 64k PNG VT map. The results are quite impressive.
New Zealand:
Rocky Mountains near Denver, CO:
South America, over the Amazon, looking west:
And while I was at it, I decided to do a comparison shot, showing the difference in the original Normal Map vs the new one. Shot is taken of some random mountains in South America. It's obvious how much of an improvement it really is.
Original:
New:
Fancy!!!
I used Jestr's awesome 64K Jestr Earth Mark II (VT/DDS), replacing the included normal map with my new 64k PNG VT map. The results are quite impressive.
New Zealand:
Rocky Mountains near Denver, CO:
South America, over the Amazon, looking west:
And while I was at it, I decided to do a comparison shot, showing the difference in the original Normal Map vs the new one. Shot is taken of some random mountains in South America. It's obvious how much of an improvement it really is.
Original:
New:
Fancy!!!
AMD Athlon X2 4400+; 2GB OCZ Platinum RAM; 320GB SATA HDD; NVidia EVGA GeForce 7900GT KO, PCI-e, 512MB, ForceWare ver. 163.71; Razer Barracuda AC-1 7.1 Gaming Soundcard; Abit AN8 32X motherboard; 600 watt Kingwin Mach1 PSU; Windows XP Media Center SP2;
-
Topic authort00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
danielj wrote:I change the gzip to C partition.
Change the directory to C:\GnuWin32\bin and then type gzip -f,but received the message:"gzip: stdin: Not enough space"
What can I do,now?
Is it to download the binaries,too?
Daniel,
why do you type "gzip -f " ?? ' f ' means ' force '. You want to type instead
gzip -dc <srtm_ramp2.world.86400x43200.bin.gz|...
which opens the STDIN channel (c parameter) and unpacks (d parameter) the inflowing srtm_ramp2.world.86400x43200.bin.gz file.
Note, the dots ' ...' behind the pipe operator | are NOT to be typed literally . It just is to indicate that there should be further commands, as detailed in my tutorial!
Daniel, you are always acting erratically. How about concentrating a bit more? Also you first have to find out, of course, how much space you have left on your C-partition. This can be done with a proper Windows command, which I hope you know!! At least all Windows (click) commands should be known by "endusers" . There is plenty of literature about the use of Windows to read and profit from.
Bye Fridger