![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
02-16-19, 05:02 PM
|
#1 |
|
Sea Lord
![]() |
Thank Gap! He has nice work. I was privileged to help test. It’s a fantastic mod. I have never been one about harbors or the way they looked before, but leaving the harbor and seeing these real trees looks really incredible! And the proper seasonal colors makes it even better!
|
|
|
02-17-19, 02:48 PM
|
#2 | |||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
Quote:
![]() Quote:
![]() Thank you Jeff. This afternoon I played a bit with the height maps available (as data previews) on the 30-Meter SRTM Tile Downloader website. As I said in one of my previous post, each preview has a size of 3601 x 3601 pixels, thus offering the full data resolution of one arcsecond stored in the hgt files. The image below, is the (scaled down) combination of two tiles relative to the western coast of Jutland: ![]() Each tile preview used its own grey/height scale, so I had to match them by modifying their tone curves, making their lowest point (= the sea level) black, and reducing the contrast of the tile having the narrower height range. Performing the latter task based on numbers was easy, as OldCoder's exe reports for us the highest point of each tile. Note that the same can be done directly with just one command, using OldCoder excutable, though, due to its high "stepping factor" data exported from it has a too low planar resolution (exactly one third of the original resolution). The next step, was creating an overlay which will help me locating the small SH5 tiles on each big STRM tile: ![]() With the help of that overlay, selecting only the portion of map we desire, copying it into a new file and scaling it to the desired size of 101 x 101 pixels is quite easy. Then we can save it to the PGM format pointed out by OldCoder (for that task, I have found a good Portable PixMap Importer Exporter). From there, converting 0-255 values in actual heights (using the conversion factor we had calculated before) and importing them into the obj file like the one exported/imported by you OBJ-RAW converter, it's a short road. There is a problem though. At first, I had underestimated the effects of poor vertical resolution. You will understand better from the following pictures, where I have marked the zeroes (= black = sea level) in blue: ![]() If you compare it with a satellite view of the same area, you will easily spot the problem: ![]() The height approximation caused by having only 256 height levels, would cause beaches and lowlands to literally disappear below the sea. Useful for previewing the future disasters of the greenhouse effect, but not for our game. ![]() Of course I could adjust those areas manually, but still, having a proper hgt exporter would greatly ease / speed-up our work on the game map
|
|||
|
|
02-17-19, 04:40 PM
|
#3 |
|
Sailor man
![]() Join Date: Nov 2018
Posts: 43
Downloads: 78
Uploads: 0
|
Altought there are troubles
the project looks great so far ! Due to lack of insight, I can´t be much of a help. But I found this blog: https://www.sigterritoires.fr/index....hic-with-qgis/ There SRTM-data are used together with QGIS: https://www.qgis.org/en/site/ Perhaps there is some useful information.... |
|
|
02-17-19, 06:25 PM
|
#4 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
|
|
|
|
02-17-19, 08:12 PM
|
#5 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Interesting web page:
https://gisgeography.com/free-global-dem-data-sources/ According to it, the most accurate world height data is offered by the Japanese Space Agency with the denomination of ALOS Global Digital Surface Model "ALOS World 3D - 30m (AW3D30)" This is the main website of the project: https://www.eorc.jaxa.jp/ALOS/en/aw3d30/index.htm According to it, the data they provide is in GeoTIFF format, but a link to a script based on GDAL technology is also provided for conversion from GeoTIFF to the SRTM HGT format that by now we are more accustomed to. ![]() Last note: for downloading their data registration is required. I applied for it, but I still haven't received any activation e-mail... EDIT: I have just found another website that offers 1", 3" and 15" word height data, with a coverage that includes zones not covered by other data sets: http://viewfinderpanoramas.org/dem3.html#images Download from it doesn't require any registration, and data offere is in the usual HGT format Last edited by gap; 02-17-19 at 08:26 PM. |
|
|
02-17-19, 09:59 PM
|
#6 |
|
GLOBAL MODDING TERRORIST
|
Grey Scale is never going to work in SH5 for detail such as Helgoland.
We already know that so why waste time with it? The 256 shades stuff is for SH3/4 not SH5. Only the main terrain files use that old system and we know the detailmasks use a different system. Now why do the old files still use the old system? Because they didn't want to waste time creating a whole new system for a Game built on something from 2004 or so! They just improved some areas and left the old stuff in place because it works. You don't replace something that works. You just improve it in areas that make sense and saves development time and money. I find the 'fix' brilliant! |
|
|
02-17-19, 10:10 PM
|
#7 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
![]() Quote:
P.S: I have seen you had tried to send me a PM, but my inbox was full. I have made some space, just in case
|
||
|
|
![]() |
| Tags |
| enviromental mod, environment, terrain, trees, vegetation |
| Thread Tools | |
| Display Modes | |
|
|
