SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-17-19, 02:48 PM   #11
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by bstanko6 View Post
testing completed with your numbers and it is exactly the same, or at least no change.

Tested all Gap testing missions with all seasons - successful.

Changed weather, for more ship movement, and sighted no black lines - successful.

Looks great, and I will just keep your new numbers for the Eco patch. Good Job friend.
Quote:
Originally Posted by bstanko6 View Post
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!
Good job bstanko6, the privilege is mine

Quote:
Originally Posted by Sjizzle View Post
gap my good old m8 u are still doing really amazing jobs with graphics and many more... keep up the good works cheers m8
Sjizzle matey, thank you for the encouragement, I am glad to see you around. Let's keep in touch

Quote:
Originally Posted by Jeff-Groves View Post
Nice work Guys!
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
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
 

Tags
enviromental mod, environment, terrain, trees, vegetation


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.