05-02-07, 07:29 AM
|
#21
|
Pacific Aces Dev Team
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2
|
Quote:
This game requires a bit of horsepower to run, and if sh3 is any indicator, a 16KM distance will come at the cost of performance.
|
Teddy Bär posted this here some time ago in this very same forum:
Quote:
The visibility fix for SHIII works for SHIV.
Unlike SHIII doubling the visibility from 8000 to 16,000 metres does not bring with it a large performance hit. In fact it is almost non existent. On medium quality with the SHIV 8000 metre world I get at 1024 x 768 (windowed) 27 frames per second, with the 16,000 metre world I get 25 frames per second!
When I put the horizon out to 24,000 metres my frame rate hit was 20%, i.e. from 25 to 20 frames with the medium graphic settings as per the options menu.
My computer is a P4 2.6, 1Gb memory with a ATI 9800 Pro 256Mb video card running 2 x 21” monitors. So it is far from flash or even meeting recommended requirements.
The formula for visual distance to the horizon based on the height of eye is: Distance (nm) = 1.14 x sqrt(height of eye in feet)
This formula can be found here with an accompanying table of visual distances based on height of eye: http://www.eagleoiltankers.co.uk/def...seahorizon.htm
In the real world, based on clear day under normal conditions, a person standing on the conning tower deck at an assumed height of 30 feet would have the horizon appear at a distance of 11,000 metres or 6.3 nautical miles.
At a distance fractionally less than the horizon, we can expect to see all the ship down to the water line. Just it will be really really tiny…
For a ship which is over the horizon, say the Large Modern Composite Freighter with a mast height of 100 feet, we could theoretically expect to see the top of the masts when the ship is 24,000 metres (13.1 nautical miles) away. Of course realistically this would probably be closer to 20,000 metres (10.7 nautical miles).
For 16K change the ZMax value from 1000 to 2000
For 24K change the ZMax value from 1000 to 3000
Note that this is just a player visual tweak and does not make the AI see any further than it currently does. For the AI it will require the sensors.dat and the ai_sensors.dat along with the releveant cfg files to be adjusted.
Credit for the SHIII 16k world in alphabetical order is Kpt. Lehmann, Manuel Ortega, Marhkimov, Redwine, Rulle34, Seeadler and others I may have forgotten.
|
No matter how Teddy explained it, I still can't understand exactñy what I must tweak to increase visibility  Any help appreciated
__________________
One day I will return to sea ...
|
|
|