dem2terrain
Moderators: Lone Wolf, Snake Man
-
- LeadPursuit
- Posts: 103
- Joined: 2001-03-07 23:01:01
- Location: UK
dem2terrain
Yes - a new kid on the block of theater production. This utility does much of what the program dem2lf that Miran Klemenc produced.
It takes the DEM data found on the nasa site Nasa Dems
applies spherical conversion and allows you to select an area. I think it does most of what dem2lf does, and a few other things into the bargain.
Produces L2/O2 data format from DEM's (spherically corrected)
Process E00 data files for airport, road, drainage, coast lines, railways and towns, with preview picture.
Will produce .TDF files from this data
Will produce .MEA file from the data
Will produce .MAP file from the data
Will produce .TXT file with description of theater in
Will produce small or large format L2 data.
Supports different theater sizes and resolutions
User configurable colour and output display
Preview window
Can load several theaters at the same time.
This is the first public release, the 1.6 version of it. We may be adding further to it as time goes on.
It is reported to be considerably faster than dem2lf, by days in the case of chinese rivers.
I'd like to thank Miran Klemenc for the dem2lf, which has been the mainstay of theater development for over a year now. The great think about these developments is the ability to build on the ideas of others.
Julian.
It takes the DEM data found on the nasa site Nasa Dems
applies spherical conversion and allows you to select an area. I think it does most of what dem2lf does, and a few other things into the bargain.
Produces L2/O2 data format from DEM's (spherically corrected)
Process E00 data files for airport, road, drainage, coast lines, railways and towns, with preview picture.
Will produce .TDF files from this data
Will produce .MEA file from the data
Will produce .MAP file from the data
Will produce .TXT file with description of theater in
Will produce small or large format L2 data.
Supports different theater sizes and resolutions
User configurable colour and output display
Preview window
Can load several theaters at the same time.
This is the first public release, the 1.6 version of it. We may be adding further to it as time goes on.
It is reported to be considerably faster than dem2lf, by days in the case of chinese rivers.
I'd like to thank Miran Klemenc for the dem2lf, which has been the mainstay of theater development for over a year now. The great think about these developments is the ability to build on the ideas of others.
Julian.
F4ut
-
- Commander-In-Chief
- Posts: 9353
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Re: dem2terrain
PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
-
- Chief of Staff
- Posts: 4857
- Joined: 2000-08-06 22:01:01
Re: dem2terrain
cool. just cool. can it handle higher latitude area?
-
- Commander-In-Chief
- Posts: 9353
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Re: dem2terrain
Theater name: alaska3quote:Originally posted by ccc:
cool. just cool. can it handle higher latitude area?
Theater size: Regular
Size (L2 segments): 64 x 64
Size (L2 tiles): 1024 x 1024
Size (Nautical Miles): 552.377 x 552.377
Resolution: 0.134858 Nautical Miles
Centered on: Lat 71 Long -159
NW: Lat 75.6031 Long -177.514
NE: Lat 75.6031 Long -140.486
SW: Lat 66.3969 Long -170.496
SE: Lat 66.3969 Long -147.504
Highest point: 7639ft
Lowest point: 0ft
Above example works good.
PMC TFW
Snake Man
PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
-
- Newbie
- Posts: 9
- Joined: 2001-09-15 22:01:01
- Location: Madrid - Spain
Re: dem2terrain
Hi Codec
I only have one word: EXCELLENT!
Many thanks for this software
Saludos
I only have one word: EXCELLENT!
Many thanks for this software
Saludos
-
- Lt. General
- Posts: 1002
- Joined: 2000-10-30 23:01:01
- Gaming Interests: Falcon 4.0
- Editing Interests: Terrains
- Location: The Netherlands
Re: dem2terrain
Great release.
together with CATE everybody can start
and do some serious Worlduilding
Widmak
together with CATE everybody can start
and do some serious Worlduilding
Widmak
Widmak
-
- Recruit
- Posts: 13
- Joined: 2002-04-29 22:01:01
- Location: US
Re: dem2terrain
Hey and nice site,
I haven't been using my falcon for a while, but you guys have made me interested again! Nice work!
I'm messing around with this new tool, trying to build Scandinavia, and I ran into a few things...when I load the file dnnet.e00 for germany and some of the other eouropean countries, I get a "Failed to parse/open file" message. The rivers still load though.
Also, when I "Generate Terrain" the program asks me for a .pal file...what's it's syntax and purpose?
I've looked at all the tutorials and I cannot find anything about it.
JJ
I haven't been using my falcon for a while, but you guys have made me interested again! Nice work!
I'm messing around with this new tool, trying to build Scandinavia, and I ran into a few things...when I load the file dnnet.e00 for germany and some of the other eouropean countries, I get a "Failed to parse/open file" message. The rivers still load though.
Also, when I "Generate Terrain" the program asks me for a .pal file...what's it's syntax and purpose?
I've looked at all the tutorials and I cannot find anything about it.
JJ
-
- LeadPursuit
- Posts: 103
- Joined: 2001-03-07 23:01:01
- Location: UK
Re: dem2terrain
Hmm - ok - I'll try getting it myself. Germany you say? Can you tell me exactly which files - or even send them to me?quote:Originally posted by JJ:
I'm messing around with this new tool, trying to build Scandinavia, and I ran into a few things...when I load the file dnnet.e00 for germany and some of the other eouropean countries, I get a "Failed to parse/open file" message. The rivers still load though.
(Edit - ok - found the problem - looking into a fix now)
This happens if you tick "Make a .MAP file" option. The MAP file contains a palette of colours to use for fog and stuff, so it loads a Paint Shop Pro format palette to combine with the other details.quote:
Also, when I "Generate Terrain" the program asks me for a .pal file...what's it's syntax and purpose?
I've looked at all the tutorials and I cannot find anything about it.
Julian.
F4ut
-
- Brig. General
- Posts: 467
- Joined: 2001-01-02 23:01:01
- Location: Oslo, Norway
Re: dem2terrain
Nice work Codec !
Now make it support the Lambert projection so we can get Russia going here !!!!!
Now make it support the Lambert projection so we can get Russia going here !!!!!
-
- Chief of Staff
- Posts: 4857
- Joined: 2000-08-06 22:01:01
Re: dem2terrain
Alaska.. sounds like the scene for "Invade Amerika" or "WW3". nice tool..now the bottleneck is tiles.quote:Originally posted by Snake Man:
Theater name: alaska3
Above example works good.
PMC TFW
Snake Man
-
- FreeFalcon
- Posts: 848
- Joined: 2001-03-04 23:01:01
- Location: here
Re: dem2terrain
Ablee ablee ablee ....
[tick tock tick tock]
Any...news...on...Russian...info...?
[fingers crossed, eyes tightly shut]
[tick tock tick tock]
Any...news...on...Russian...info...?
[fingers crossed, eyes tightly shut]
Sic Semper tyrannosauro.
-
- Commander-In-Chief
- Posts: 9353
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Re: dem2terrain
New dem2terrain v1.7 added into the downloads page.
Version 1.7
===========
Fixed up reading of some dnnet files, better e00 parser
Fixed up display in progress box.
Thanks Codec
PMC TFW
Snake Man
Version 1.7
===========
Fixed up reading of some dnnet files, better e00 parser
Fixed up display in progress box.
Thanks Codec
PMC TFW
Snake Man
PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
-
- Recruit
- Posts: 13
- Joined: 2002-04-29 22:01:01
- Location: US
Re: dem2terrain
Great work, Thanks...
JJ
JJ
-
- FreeFalcon
- Posts: 848
- Joined: 2001-03-04 23:01:01
- Location: here
Re: dem2terrain
Alas, in my attempt to reconstruc the Bering theater I was working on, it looks like the Russian E00 stuff is still in the "odd" format.quote:Originally posted by T_Rex:
Any news on Russian info?
[/B]
Still, though, between this, CATE, and all the other stuff theater dev is only getting better!
Sic Semper tyrannosauro.
-
- LeadPursuit
- Posts: 103
- Joined: 2001-03-07 23:01:01
- Location: UK
Re: dem2terrain
Well I spent a day surfing the web looking for formulas to convert from lambert to lat/long, and so far nothing really useable. Seems a very complex projection.quote:Originally posted by 87th_striker:
Nice work Codec !
Now make it support the Lambert projection so we can get Russia going here !!!!!
If anyone knows how to convert lambert projections -I'd be very interested to say the least
Julian.
F4ut
-
- Brig. General
- Posts: 467
- Joined: 2001-01-02 23:01:01
- Location: Oslo, Norway
Re: dem2terrain
I once found the formula in some stuff at a Belgium university website. I was never able to rediscover it later, when I really needed it... Will look around.
-
- FreeFalcon
- Posts: 848
- Joined: 2001-03-04 23:01:01
- Location: here
Re: dem2terrain
If we could get Lambert to something else (mercator?) then Long/Lat would that work? I know that the double conversion could lead to errors, but it might be better than what we have, eh?
Sic Semper tyrannosauro.
-
- FreeFalcon
- Posts: 848
- Joined: 2001-03-04 23:01:01
- Location: here
Re: dem2terrain
I have no idea if this helps, but I think this gives a conversion from long/lat to Lambert? Is it possible to use this to do the "reverse"? I have a headache just looking at it.
http://mathworld.wolfram.com/LambertCon ... ction.html
http://mathworld.wolfram.com/LambertCon ... ction.html
Sic Semper tyrannosauro.
-
- FreeFalcon
- Posts: 848
- Joined: 2001-03-04 23:01:01
- Location: here
Re: dem2terrain
And I have absolutely NO freaking idea if this helps: http://groups.google.com/groups?q=lambe ... com&rnum=6
It looks like code. And it looks like English. But it also looks like math.
It looks like code. And it looks like English. But it also looks like math.
Sic Semper tyrannosauro.
-
- FreeFalcon
- Posts: 848
- Joined: 2001-03-04 23:01:01
- Location: here
Re: dem2terrain
And another. I think this one, towards half-way down has the "reverse" formula. Julian - I hope you like/understand this math/map stuff!
http://www.posc.org/Epicentre.2_2/DataM ... cs34e.html
From searches at google.groups.com. Sorry if this has been a waste.
http://www.posc.org/Epicentre.2_2/DataM ... cs34e.html
From searches at google.groups.com. Sorry if this has been a waste.
Sic Semper tyrannosauro.
-
- LeadPursuit
- Posts: 103
- Joined: 2001-03-07 23:01:01
- Location: UK
Re: dem2terrain
Thanks - last one was the closest I found in my search, but the other two are interesting - thanks for the help. I'll see if I can work with them.
Julian.
Julian.
F4ut
-
- FreeFalcon
- Posts: 848
- Joined: 2001-03-04 23:01:01
- Location: here
Re: dem2terrain
Something I just thought of (actually I thought of it at 3:00 this morning, but that's a long story) might affect the Bering info from Russia independent of the Lambert problem. Technically, the area I'm interested in is "past" the 180' meridian. That means that it is so far "east" that it is actually "west." I've been downloading and trying to apply the "east" section of Russia, but now I'm thinking I might actually need to use the "west" section. Is there any way to check the .e00 file to see what long/lat it covers?
TIA,
T
TIA,
T
Sic Semper tyrannosauro.
-
- Recruit
- Posts: 12
- Joined: 2001-09-02 22:01:01
- Location: turkey
Re: dem2terrain
Hi Julian
THX for dem2terrain. I have been working on a Turkey based terrain and made L2/O2 files. when I tried to start falcon 4 after installing the new terrain, I get THÝS MESSAGE:BAD TERRAIN HEADER READ (COLOR TABLE)
"Error:249 D:\data\projects\falcon4\falcon\graphics\terrain\Tmap.cpp Jan 27 2002"
Could you tell me what am I doing wrong?
THX for dem2terrain. I have been working on a Turkey based terrain and made L2/O2 files. when I tried to start falcon 4 after installing the new terrain, I get THÝS MESSAGE:BAD TERRAIN HEADER READ (COLOR TABLE)
"Error:249 D:\data\projects\falcon4\falcon\graphics\terrain\Tmap.cpp Jan 27 2002"
Could you tell me what am I doing wrong?
-
- Recruit
- Posts: 13
- Joined: 2002-04-29 22:01:01
- Location: US
Re: dem2terrain
Hey I think I got that message once...
Did you remember to load a PSP color file when you saved your L2 file from dem2terrain?
JJ
Did you remember to load a PSP color file when you saved your L2 file from dem2terrain?
JJ
-
- Recruit
- Posts: 12
- Joined: 2001-09-02 22:01:01
- Location: turkey
Re: dem2terrain
THX JJ
it worked!!
cihat
it worked!!
cihat
-
- Brig. General
- Posts: 467
- Joined: 2001-01-02 23:01:01
- Location: Oslo, Norway
Re: dem2terrain
Hi Julian
Are you still looking into the russian data and the projection problems. What is status on the work ? (sorry for pressuring)
Are you still looking into the russian data and the projection problems. What is status on the work ? (sorry for pressuring)
-
- Recruit
- Posts: 13
- Joined: 2002-04-29 22:01:01
- Location: US
Re: dem2terrain
Hi guys!
Can anyone explain the numbers in the dem2terrain and their relation? (Dimensions,Tiles and Segments)
How exactly is the terrain files made in Falcon?
Does anybody have the specifications for the L2 files, and the structs that Falcon reads for the terrain. I'm just trying to understand the structure of the terrain, and how falcon reads the terrain. I guess it's a programmer thing, always wants to know how everything works under the hood.
Hope to get some feedback,
thanks in advance!
JJ
Can anyone explain the numbers in the dem2terrain and their relation? (Dimensions,Tiles and Segments)
How exactly is the terrain files made in Falcon?
Does anybody have the specifications for the L2 files, and the structs that Falcon reads for the terrain. I'm just trying to understand the structure of the terrain, and how falcon reads the terrain. I guess it's a programmer thing, always wants to know how everything works under the hood.
Hope to get some feedback,
thanks in advance!
JJ
-
- LeadPursuit
- Posts: 103
- Joined: 2001-03-07 23:01:01
- Location: UK
Re: dem2terrain
I've looked at it, but despite having a couple of examples, I so far haven't managed to crack that problem. Although to be truthful I haven't spent a long time on it so far. I hope to solve it eventually.quote:Originally posted by 87th_striker:
Hi Julian
Are you still looking into the russian data and the projection problems. What is status on the work ? (sorry for pressuring)
Julian.
F4ut
-
- LeadPursuit
- Posts: 103
- Joined: 2001-03-07 23:01:01
- Location: UK
Re: dem2terrain
I guess I know something about it, contact me direct on ICQ or email and I can answer questions. The format is fairly simple though.quote:Originally posted by JJ:
Hi guys!
Can anyone explain the numbers in the dem2terrain and their relation? (Dimensions,Tiles and Segments)
Alternatively, just post some specific questions here and I'll try and answer them.
Julian.
F4ut
-
- FreeFalcon
- Posts: 848
- Joined: 2001-03-04 23:01:01
- Location: here
Re: dem2terrain
Wahoo!!! Couldn't ask for more!quote:Originally posted by codec:
I hope to solve it eventually.
Julian.
T
Sic Semper tyrannosauro.
-
- Recruit
- Posts: 11
- Joined: 2002-05-30 22:01:01
Re: dem2terrain
Hello. There are already function to convert Lambert to Lat/Long. Look http://win-k.gfd-dennou.org/dcl-f90/f90E2/math/maplib/ .
Crazy
Crazy
-
- Brig. General
- Posts: 467
- Joined: 2001-01-02 23:01:01
- Location: Oslo, Norway
dem2terrain
Interresting litterature...
http://www.mathworks.com/access/helpdes ... map_ug.pdf
here
edit: small url edit by admin
http://www.mathworks.com/access/helpdes ... map_ug.pdf
here
edit: small url edit by admin
Who is online
Users browsing this forum: No registered users and 0 guests