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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 07-23-07, 12:32 PM   #1
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default [Puzzle] Earth Radius

If one takes a look at the scene.dat file - you can see that in the main dropdown menu "General Enviromental Data" there is a setting called "EarthRadius" that default (in 1.3) is set to 800.000 (km?nm?).

This is a bit of a puzzle to me as the real earth radius (equatoriel) is 6378,135 km or 3963,189 mi or 3443,917 nm.

None of these numbers fits to 800.000

Any ideas why :hmm:
  Reply With Quote
Old 07-23-07, 01:08 PM   #2
wovik
Torpedoman
 
Join Date: Mar 2006
Location: Arizona
Posts: 115
Downloads: 272
Uploads: 0
Default

That's strange.

I have 337813 in my default v1.3 scene.dat for that entry.
wovik is offline   Reply With Quote
Old 07-23-07, 01:19 PM   #3
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Same here
Quote:
337813
Maybe you are runing some mod there
__________________
CaptainCox is offline   Reply With Quote
Old 07-23-07, 01:49 PM   #4
wetwarev7
Grey Wolf
 
Join Date: Oct 2005
Location: Deep Waters
Posts: 871
Downloads: 31
Uploads: 0
Default

I read in another thread that earth curvature is not modeled in-game. If this is so, what could that setting possibly be used for?
__________________
Guess I should change my sig since SH5 has an offline mode now
wetwarev7 is offline   Reply With Quote
Old 07-23-07, 01:53 PM   #5
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by wetwarev7
I read in another thread that earth curvature is not modeled in-game. If this is so, what could that setting possibly be used for?
For params calculations ...
__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart is offline   Reply With Quote
Old 07-23-07, 02:00 PM   #6
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by Mav87th
If one takes a look at the scene.dat file - you can see that in the main dropdown menu "General Enviromental Data" there is a setting called "EarthRadius" that default (in 1.3) is set to 800.000 (km?nm?).

This is a bit of a puzzle to me as the real earth radius (equatoriel) is 6378,135 km or 3963,189 mi or 3443,917 nm.

None of these numbers fits to 800.000

Any ideas why :hmm:
Earth Radius, in meters/10 = A0F2A448 = 337813 ...
Celestial objects radius (distance) relative to camera position:
Sun radius (in meters/10);
Moon radius (in meters/10);
Stars radius (in meters/10).
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 07-23-07 at 02:16 PM.
Anvart is offline   Reply With Quote
Old 07-23-07, 03:01 PM   #7
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Earth Radius is now edited here.

Anvart could you please explain the other three again in an elaborate form?

Celestial objects radius (distance) relative to camera position:
Sun radius (in meters/10);
Moon radius (in meters/10);
Stars radius (in meters/10).

Sun's distance to the camera should be a tad more then 975*10 as far as i know. and it does not fit with the radius of the sun either.
  Reply With Quote
Old 07-23-07, 03:11 PM   #8
XLjedi
Ace of the Deep
 
Join Date: Jun 2005
Location: Palm Beach, Florida
Posts: 1,243
Downloads: 53
Uploads: 8
Default

I suspect it has something to do with either a skybox/sphere setting or how distant ships appear slightly low on the horizon even though they modelled a flat Earth.
__________________
XLjedi is offline   Reply With Quote
Old 07-23-07, 04:03 PM   #9
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Edited my Scene.dat to give 18km+ horizon (2500 is the setting) and when zooming high up in the outside camera you can definetly see earth curvature. You can spot land before you can spot it from the bridge fx. and allso see the horizon curve.
  Reply With Quote
Old 07-24-07, 01:04 AM   #10
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by Mav87th
Earth Radius is now edited here.

Anvart could you please explain the other three again in an elaborate form?

Celestial objects radius (distance) relative to camera position:
Sun radius (in meters/10);
Moon radius (in meters/10);
Stars radius (in meters/10).

Sun's distance to the camera should be a tad more then 975*10 as far as i know. and it does not fit with the radius of the sun either.
It's not radius of sun, it's "Celestial objects radius (distance) relative to camera position" (distance from you up to the sun)...
Also do not forget that is it game only ...
__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart is offline   Reply With Quote
Old 07-24-07, 07:00 AM   #11
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Yea i got the point that it is from me to the sun distance (or to the moon for that sake), but thats where i stop dead in the water. The distance to the sun from earth is far from 957*10 either in Km or in NM or Mi.

http://www.earthmatrix.com/extract62/mercury.html

As its seen here its 92955800 miles (to greater or lesser accuracy in the average)

Even if its a unit distance its wrong. The unit distance - according to the above webpage - is 959.62

So....where did they get the numbers from ?
  Reply With Quote
Old 07-24-07, 07:27 AM   #12
XLjedi
Ace of the Deep
 
Join Date: Jun 2005
Location: Palm Beach, Florida
Posts: 1,243
Downloads: 53
Uploads: 8
Default

Quote:
Originally Posted by Mav87th
Yea i got the point that it is from me to the sun distance (or to the moon for that sake), but thats where i stop dead in the water. The distance to the sun from earth is far from 957*10 either in Km or in NM or Mi.

http://www.earthmatrix.com/extract62/mercury.html

As its seen here its 92955800 miles (to greater or lesser accuracy in the average)

Even if its a unit distance its wrong. The unit distance - according to the above webpage - is 959.62

So....where did they get the numbers from ?
Probably mathematics... They didn't model a sun, they modelled a small image of the sun that hovers a certain distance above the Earth within the skybox. They just set it at the distance that was appropriate for the image they created.
__________________
XLjedi is offline   Reply With Quote
Reply


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 03:52 PM.


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