ok, got it. i didn't understand the halfsize-part until now. i'll let my computer work while i'm eating dinner
thx!
Testing Chris' new, compressed normalmaps (part 2)
- t00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 8 months
- Location: Hamburg, Germany
neo albireo wrote:That's definitely true: It took my MacBook Pro 3 hours just for level5.t00fri wrote:Photoshop is of course OK, but e.g. the command-line tool nconvert (XnView distribution) is much more effective for .png conversion!
My God!
nconvert just takes a few minutes for the whole lot on my machine....
nconvert is an efficient batch program and works on whole directories at once!
Bye Fridger
-
- Posts: 68
- Joined: 03.02.2005
- With us: 19 years 10 months
- Location: Switzerland
t00fri wrote:nconvert just takes a few minutes for the whole lot on my machine....
nconvert is an efficient batch program and works on whole directories at once!
Well, Photoshop routines work on whole directories as well, so i wasn't busy during that time, but I'll defintely have to try nconvert. Photoshop is not yet universal on Mac, so I can't really profit of my speedy processor with it.
- t00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 8 months
- Location: Hamburg, Germany
Just for fun, I repeat here the command line that does the full job for level 5 VT tiles in ONE single step, including the gz-unpacking with gzip! MAC-OSX and Linux users have gzip available by default.
Here is the line for MAC-OSX . For other machines just add the byteswap=1 option in resc2pow2!
Follow this by the simple command
and you have your level 5 .png tiles ready before you finished dinner
It corresponds to a recommended exaggeration factor exag=2.5
Have fun!
Bye Fridger
Here is the line for MAC-OSX . For other machines just add the byteswap=1 option in resc2pow2!
Code: Select all
gzip -dc <srtm_ramp2.world.86400x43200.bin.gz | resc2pow2 86400 | nmstiles 5 6378.14 65536 2.5
Follow this by the simple command
Code: Select all
nconvert -out png *.ppm
and you have your level 5 .png tiles ready before you finished dinner
It corresponds to a recommended exaggeration factor exag=2.5
Have fun!
Bye Fridger
Last edited by t00fri on 27.12.2006, 17:51, edited 1 time in total.
-
- Posts: 68
- Joined: 03.02.2005
- With us: 19 years 10 months
- Location: Switzerland
t00fri wrote:
Follow this by the simple commandCode: Select all
nconvert -out png *.ppm
and you have your level 5 .png tiles ready before you finished dinner
Dinner is in 1/2 hour, using nconvert I already completed levels 0-4, just level5 ahead. I'll stop time for level5...
-
- Posts: 68
- Joined: 03.02.2005
- With us: 19 years 10 months
- Location: Switzerland