brucepos
Caporal
Hors ligne
Messages: 15
|
 |
« Répondre #60 le: 23 Mars 2010, 11:53:35 » |
|
I think Hook's right and there's something gone wrong with the calculcations of the indexes.
The point by Tirailleur is something I didn't realise could be done - I've only ever downloaded the sub files and didn't know that the file for the whole grid could be accessed.
|
|
|
|
|
Journalisée
|
|
|
|
Tirailleur
Lieutenant

Hors ligne
Messages: 50
|
 |
« Répondre #61 le: 23 Mars 2010, 12:31:48 » |
|
Yes brucepos,
it's possible. When you click on the green data file symbol, you get an info window, where you can download the whole data of the big file.
I had the same problem with the same error, so it could be possible that it's the same problem.
But i don't know, Broadsword has to try out.
|
|
|
|
|
Journalisée
|
|
|
|
TC237
Sergent
Hors ligne
Messages: 24
|
 |
« Répondre #62 le: 23 Mars 2010, 14:44:06 » |
|
Please keep working at this guys, it's going to be a huge help to the game. ....All went well after i used the sub data files.
Did you get the data to load in the map editor? Another idea, there are a few free digital elevation programs available (MicroDEM) that can load these SRTM .asc files. I'm wondering if they can be useful. You can load the .asc file into MicroDEM, then via mouse drag, select the precise area you need for a map. I haven't been able to export the resulting data into a file type that the game can use. Mainly because I don't know exactly what all these different elevation data files are (.dem, .asc, .hgt, .prj) and how they are related or need to be converted.
|
|
|
|
|
Journalisée
|
|
|
|
Tirailleur
Lieutenant

Hors ligne
Messages: 50
|
 |
« Répondre #63 le: 23 Mars 2010, 15:51:46 » |
|
Did you get the data to load in the map editor?
No, the download is available as mentioned in the guide from brucepos. There appears a pop up window in Google Earth (if you click the sub data file) where you can download the file.
|
|
|
|
|
Journalisée
|
|
|
|
Broadsword
Capitaine

Hors ligne
Messages: 110
|
 |
« Répondre #64 le: 25 Mars 2010, 22:13:59 » |
|
Thanks again, Brucepos!
I started over with my attempt at making my campaign map using the heightmaps and SciLab, etc., and it works like a charm. My Google map usermap aligns perfectly with the HighV4.hgh terrain image in LG. This is astounding, and it lets us re-create precise virtual Napoleonic battlefields from anywhere, in a fairly short time! I found the math part fairly daunting, and painstaking, but well worth the effort -- it's still much faster and results in a far superior map than trying to manipulate elevations in the LG map editor by hand.
What threw me the first time was that I downloaded the entire large-scale tile, rather than the two side-by-side smaller tiles I really needed. As they say, "garbage in, garbage out..." And I had to reread Brucepos' guide several times to grasp the nature of the "stacked" matrices and how to extract a smaller battlefield area from them.
But now the fun begins, and it will be fairly simple to draw my map features. I'll start with a river, then streams. I've learned the hard way to place towns before roads, so you can draw the roads to join precisely with where they enter the towns...My campaign map is the area north of the Landshut crossing from the 1809 campaign. I'll post it as soon as it's done and I know it works.
|
|
|
|
|
Journalisée
|
|
|
|
|
glaude1955
|
 |
« Répondre #65 le: 10 Avril 2010, 20:36:08 » |
|
Merci Brucepos,
Merci de nous avoir fait découvrir Scilab. Ca fonctionne (sans la macro qui elle pose des problèmes ausssi ne l'utilisons pas)
Yves
Thank you Brucepos, Thank you to have made us discover Scilab. That functions (without the macro that puts problems as don't use it)
|
|
|
|
|
Journalisée
|
|
|
|
bibouba
Officier d'HistWar : Grognard de la Vieille Garde
Général de Brigade
  
Hors ligne
Messages: 1507
Henri Gratien Comte BERTRAND
|
 |
« Répondre #66 le: 03 Octobre 2010, 08:31:06 » |
|
Ho Hook,
I ve done a test and it works perfectly.
But I ve seen that in a post previously you put a factor (3.5) for the elevation.
How do you do that in scilab ?
Don't see any factor line in the tuttorial. In fact i want to increase the elevation a beat for all mount that ive have in my map.
|
|
|
|
« Dernière édition: 03 Octobre 2010, 08:37:12 par bibouba »
|
Journalisée
|
|
|
|
|
Alfiere
|
 |
« Répondre #67 le: 03 Octobre 2010, 09:15:38 » |
|
I do not tried, but perhaps you can increase at point 17 of manual: when scilab calculate the offset of high:
remap-=remap-min(remap); put the min elevation at 0 e calculate offset other high in matrix.
You can add after remap=remap*1.05 ; should be increase of 5% all elevation and 0 remain 0 because 0*1.05=0
|
|
|
|
|
Journalisée
|
|
|
|
|
Alfiere
|
 |
« Répondre #68 le: 03 Octobre 2010, 09:42:32 » |
|
Now i have tried. Seems to work. I have tried with Auerstadt sat normal version higher point in a aerea zone 170 mt after increase 5% with scilab , higher in same zone 179 mt with new HighV4 Scilab no errors. Now the relative high is not real,perhaps there is a way to increase the step with a factor with the same high in HWLG. But this is possible way.
In the images i have found another poit higher at 175 mt
|
|
|
|
« Dernière édition: 03 Octobre 2010, 10:13:12 par Alfiere »
|
Journalisée
|
|
|
|
bibouba
Officier d'HistWar : Grognard de la Vieille Garde
Général de Brigade
  
Hors ligne
Messages: 1507
Henri Gratien Comte BERTRAND
|
 |
« Répondre #69 le: 03 Octobre 2010, 10:34:18 » |
|
I m gonna try it. thx
|
|
|
|
|
Journalisée
|
|
|
|
|
Alfiere
|
 |
« Répondre #70 le: 03 Octobre 2010, 10:38:10 » |
|
In scilab the lowest point is set to 0 and highest point is set to 50.Is all relative. If you have a 10 mt relative this became 10.5 mt relative. It is only method to increase the steepness of climb. I had undestood that you wanted this.
|
|
|
|
|
Journalisée
|
|
|
|
bibouba
Officier d'HistWar : Grognard de la Vieille Garde
Général de Brigade
  
Hors ligne
Messages: 1507
Henri Gratien Comte BERTRAND
|
 |
« Répondre #71 le: 03 Octobre 2010, 10:44:40 » |
|
when you write remap-=remap-min(remap); are you sur that it goes to O ?
|
|
|
|
|
Journalisée
|
|
|
|
|
Alfiere
|
 |
« Répondre #72 le: 03 Octobre 2010, 10:48:21 » |
|
yes if i understood well brucepos manual. I read "The first is to set the lowest altitude as zero an to offset other altitudes.This sounds complicated, but is really easy to do: remap=remap-min(remap);"
|
|
|
|
|
Journalisée
|
|
|
|
bibouba
Officier d'HistWar : Grognard de la Vieille Garde
Général de Brigade
  
Hors ligne
Messages: 1507
Henri Gratien Comte BERTRAND
|
 |
« Répondre #73 le: 03 Octobre 2010, 10:50:43 » |
|
look strange because when I do the methood that you explain me I should have point at 0. But in fact don't find any one. the remap*x apply even at 0 meters.
|
|
|
|
|
Journalisée
|
|
|
|
|
Alfiere
|
 |
« Répondre #74 le: 03 Octobre 2010, 11:07:42 » |
|
I have not controlled this. Strange that 0*x is not zero.
If is so is not possible , perhaps ,but i do not know after
remap=remap-min(remap); remap=remap*1.05; (again) remap=remap-min(remap); example my map auerstadt before 175-> 184 mt and you tell that 0 is not zezo but perhaps 0.05 mt ? 0.05 mt is put to 0 and 184 mt is put to 183.05 mt.
The manual seems to me clear.You find 0 meters without remap=remap*1.05; ?
Now take a look on my standard map.
|
|
|
|
« Dernière édition: 03 Octobre 2010, 11:19:09 par Alfiere »
|
Journalisée
|
|
|
|
|