Thread: [WIP] Lighthouses mod
View Single Post
Old 07-26-17, 05:53 AM   #367
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
Precisely, the scale is not linear. A few months ago, I determined for almost all submerged pixels the exact depth, by changing colors of the scale (red-yellow-blue ... in order to distinguish between each depth) and putting land units on each depth in Mission Editor to know the exact depth.

Here is the scale :

 
Oh, amazing

Tha's exactly the scale we need, with the Terrain.act palette applied to it. You can replace each shade of blue on it with a grey value going from 0 to 47

Out of curiosity: do the first two values both correspond to -17 m?

Quote:
Originally Posted by Kendras View Post
Now, here is my idea : instead of searching the exact depth of each pixel (14400 for each square !) in Google Earth, let's take the map with red to blue scale I've posted, and convert into grey scale with the SH3 own scale, then apply to the SH3 map.
Sure, we can't do this work pixel by pixel

We are going to face some problems though:

1- what is the scale/projection of your depth map? If we want to do a decent work, that map should be stretched to fit the SHIII world

2- sure we can convert that colour map into a grey-scale image, but then grey values wouldn't have any relation with depths.

It would be better starting from a greyscale haight map. I have read on the web that, though a bit complicated, extracting height data from Google Earth is all but impossible.

Quote:
Originally Posted by Kendras View Post
After that, I think we have to correct also the 3 pixels borders of the 9 squares around.
That's going to be a real PITA
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote