Elevation Edits (Heightmap aka .raw)
-
I truly do have faith in your work A.S. and I really do hope it meets my expectations of still visually appearing to be true to Korea. In the meantime and as a backup I’ve started building up my reference points in order to attempt to extract my data out of gis.
@Striker, I see that program says it can convert between 5000 projections so I would assume that it’d work, however I have no need to purchase anything for modding falcon, if it aint free and I don’t have a future use for it then I won’t try it. Thanks for looking into it though! I do appreciate it.
I’m probably taking the long route here but oh well. I’ve matched up various points that I could make out in the 500m srtm data to align to the theater image and things are starting to align. Compared a few spots to google earth just to make sure everything is correct and so far so good.
Transparency @50 for the theater image overlayed on top of a equalized height map for visual feedback:
Next is to load in the blue marble images for this area into gis and see what else I can reference. The edges still need some more points since they’re being pulled in, but so far 70% of the theater is aligned. Using a 4096 theater image so things should end up being accurate enough. Once I’m done referencing I’ll just have to figure out how to clip/export the area using the custom projection. I just couldn’t leave this alone and still have texturing/tiling on hold…
-
If they would only allow L0 elevations (250m) ingame, while containing the L2 tiles size or sets. Duuuude… we would be able to make magic.
-
Talk to the man, AS….
KR, the FME trial is free and still unlimited in functionality, I seem to remember.
Lazystone had some link to Zaggy’s previous works, but it seems to be down ?
-
Confirmed, Link is (actually ???) down.
I’ll upload the following feature data by request:
e00 China
e00 RussiaCentralv2
e00 RussiaEast
e00 RussiaWestHave there been additionally files on the server? … I can’t remember.
Cheers,
LS -
I’m going say the information that I have for the Korean theater coordinates are off. I’ve run through a whole lot of projections and the 123, 33.84 :: 133, 43.84 coordinates just aren’t cutting it. Even while plotting down over 30 individual coordinates, I still ended up with beyond repair edges.
Was about ready to throw in the towel when I noticed that after some adjustments I had made to the Latitude coordinates N/S was pretty much spot on at 33.84 to 43.0 something, don’t remember off hand where I wrote it down. Now this is the interesting part because each lat are roughly 111km apart (I know it varies) 1024/111 gives us 9.225. So, I adjusted the long’s to 132.22 (the 5 was truncated) and voila, I now have a Korea that is only 1-4 pixels off throughout the entire theater. Well, except for Japan but it appears that Japan was an after thought and is not accurately represented in this this theater. That doesn’t matter though, I can always extract it separately. With the consistent variation across the theater I can now run through a few different projections that will hopefully align it the rest of the way.
So my assumption currently is that the SW corner of the theater really is somewhere around 123; 33.84 but the other corners were calculated to end at 1024km from that point. Ideally I’d want to calculate what those other corners should be but at least I’m in the ballpark range now. Been a long day so that’s all for now.
Or they were calculated from a center coordinate, I don’t know but you get the idea.
-
I actually wondered how you gonna get that working (the right coords)
-
What is the goal of these edits? What can be expected or achieved?
-
What is the goal of these edits? What can be expected or achieved?
Just a easier way to edit elevations while keeping things real is all.
@A.S:
I actually wondered how you gonna get that working (the right coords)
Down to playing with the border now trying to fine tune it down to the hundredth and thousandth of a degree. But it’s close enough to put it in now to see how it looks and lines up with everything else.
New on Lt, Old on Rt, Both images equalized for visuals.
Easier to see why I said Japan appears to be an afterthought in this theater. Everything is almost aligned exactly except for Japan and a few islands way out there. Now I can pull out some reference images and stuff to help me tile as well.
-
Got it in and with some tweaking it looks good. Like Arty said, using the default values caused the elevations to sit a bit low. I needed to enhance the image a wee bit to bring things closer to life, think I’m still a bit low but I want to find the highest points in the theater before I start editing it too much and will try to match those points before I edit any further.
There are a few small gaps in coverage and I’m hoping A.S.'s modifications will help me fill in those voids!
see in game pics by following this quote; click the arrows!
-
Are you saying that it is possible edit terrain elevation by editing simply an image?
-
-
http://i45.photobucket.com/albums/f82/lazystone/Smileys/swoon.gif
Molni, the whole topic is about to modify the elevation by editing simply an image. http://i45.photobucket.com/albums/f82/lazystone/Smileys/rofl-1.gif
Cheers, http://i45.photobucket.com/albums/f82/lazystone/Smileys/hat_3.gif
LSNow, you can see my skills in the topic.
How will affect the elevation changes of objects on the map? What about roand and links?
-
Hey King_Richard,
Just a easier way to edit elevations while keeping things real is all.
Down to playing with the border now trying to fine tune it down to the hundredth and thousandth of a degree. But it’s close enough to put it in now to see how it looks and lines up with everything else.
New on Lt, Old on Rt, Both images equalized for visuals.
Easier to see why I said Japan appears to be an afterthought in this theater. Everything is almost aligned exactly except for Japan and a few islands way out there. Now I can pull out some reference images and stuff to help me tile as well.
maybe worth having a look at this:
http://lomac.strasoftware.com/download/misc/Falcon4/Falcon4Projection.pdfShould be obvious, why at all 4 edges of the map accuracy is lost.
Cheers
Biker -
That would explain Japan, however, I do not know what the center coordinate is. Used 128 38 for running the math and that resulted with
134.25 42.6
121.75 42.6
Those are definitely not the Northern corners.Lining up the theater’s default elevation data to everything I have laid out in wgs84 gave me
123.02 43.01 NW
132.24 33.79 SEUsing these coordinates everything is pretty accurate. Except for Japan, even the NW corner is sitting fairly accurate but I am only able to line this up to within 250m or so since that’s the most accurate image I can pull out of the Korean theater. And any adjustments past .01 result in no change to the image when extracting within QGis.
I assume that’s the pdf that Closter was trying to show me earlier! Much appreciated and if no one knows exactly what the center coordinate is then I could always try to reference it to what I have in gis; assuming it’s the center of the theater image. But I’m burnt out at the moment with that stuff! I’ll stick to what I have for the time being and come back around to it when I get the motive for it again. Also tempted to write up a little green screen program to calculate those coordinates using the math Closter provided.
I’m going to assume the projection is Mercator -> http://www.progonos.com/furuti/MapProj/Normal/CartProp/Rhumb/rhumb.html
-
Are you saying that it is possible edit terrain elevation by editing simply an image?
Thoretically YES, but not quiete that simple for BMS.
Elevation data can be imported/exported as RAW image. -
How will affect the elevation changes of objects on the map? What about roand and links?
That is the difficult part as you already noticed.
Because if we import REAL data from real-world, that doesnt mean, that this data is matching up with the UNREAL tiles (water, roads, plain basis of objectives etc)…
and this unfortunatly needed to be reworked manually, so that rivers dont flow overy mountains anymore and runways are plain and not zick-zacked broke in elevations. -
Well, been awhile since I’ve programmed but I managed. Makes it easier to play with the numbers now! I’ll tinker a bit sometime and hopefully stumble upon the correct coordinates for Korea.
I don’t know exactly how use full this will be for anyone but I’ll look at adding some extra features (save, load, etc…) that may come in handy and will zip it up when done.
-
Sorry I have not gotten around to adding anything else to this simple prog but I’ll upload it just in case some one finds it useful and before I forget about it. If needed and requested than I’ll add to it, however, it did not help me in trying to fine tune my coordinates for the Korea theater. The central meridian height is set to 1023.002km (64 seg theater), and Closter didn’t provide math for that so it’s not adjustable at the moment.
At this point, I’m done trying to figure it out and will stick with what I have, while not 100% accurate, it is accurate enough to redo the elevations on a 1km mesh, even down to the 250m mesh it would still align relatively accurately. I’ve decided that I’ll just import Japan separately since that’s the only area that’s really far off. I have to keep moving forward on other project and I’m sure some of you will understand that.
Program is just an exe, extract it wherever and run. Use the pdf referenced here if you want to see the math @biker:
http://lomac.strasoftware.com/download/misc/Falcon4/Falcon4Projection.pdf
Download->
-
If I understood u want to have the same coordinates for Korea theater as they are in real?
In theory and practice is doable… but the workload will be enormous.Where is that Database guy??? right here what u need is an auto coordinates changer for Falcon… like get objectives and their coordinates… export to excel… create the correct ones in excel or download them and make the list whatever then insert them back to Falcon… Next open up Terrain Editor and Falcon Editor and make changes to the terrain so it will be aligned… Monster could also help on this to make it way easier.
like for instance coordinates where x and now are y so do the switch on the tiles…
Problem will be mountains tops so to align them also…And what about the areas that will not be shown cause of the change and the overlapping on some? Well we can’t have it all… either real or Falcon… if u want your GPS to show as in real u must do compromises…
-