![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
07-21-13, 07:56 AM
|
#2491 | |
|
Black Magic
![]() |
Quote:
See here: http://www.subsim.com/radioroom/show...1&postcount=57 EDIT: just looking over that post has turned the light bulb on. I think the angle value is actually how many vertical graduations on the scope display... Last edited by TheDarkWraith; 07-21-13 at 08:07 AM. |
|
|
|
07-21-13, 08:25 AM
|
#2492 |
|
Black Magic
![]() |
Just verified that the angle value IS the number of vertical graduation marks on the scopes. Now I have something to work with
I know where in the code it's creating this number so time to do a little investigating...
|
|
|
07-21-13, 09:36 AM
|
#2493 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
|
|
|
07-21-13, 10:03 AM
|
#2494 |
|
Black Magic
![]() |
I do and I don't understand how the game it computing this angle val. Maybe someone can shed some light here. What is the degree spacing between the vertical graduation marks on the obs scope? And the most important question, how do you know this
I need these key bits of information to track down where the game is calculating this so I can grab the calculated number and multiply it by the angle val to get the true angle.
|
|
|
07-21-13, 11:29 AM
|
#2495 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
![]() This number may vary from a scope mod to another. This is why I suggested you to set a new "virtual" scope for sextant usage... |
|
|
|
07-21-13, 01:42 PM
|
#2496 |
|
Count Dracula
|
now i will test ....
i have this Star Charts from my telescope and will see if the angel it's good or nope i will try to follow this tutorial to calculate my position http://onboardintelligence.com/Celes...v/Celnav1.aspx
__________________
Last edited by Sjizzle; 07-21-13 at 01:55 PM. |
|
|
07-21-13, 02:00 PM
|
#2497 |
|
Black Magic
![]() |
The angle val is the number of vertical graduations on the scope. I'm trying to figure out what each vertical separation mark is in degrees currently.
I see the ticker tape for the vertical graduations has 40 marks on it (from periscope dds file). I don't understand what the AngularAngle means for the camera when viewing in Goblin. It has something to do with FOV that's for sure but what? If I can figure out how all the AngularAngle and ticker tape goes together then I can code something to return the true angle. I can read all the camera parameters in memory so that's no issue. |
|
|
07-21-13, 02:08 PM
|
#2498 |
|
Count Dracula
|
i can't finde that sextan option in your latest TDW ui test version
__________________
|
|
|
07-21-13, 02:24 PM
|
#2499 |
|
Black Magic
![]() |
|
|
|
07-21-13, 02:31 PM
|
#2500 |
|
Black Magic
![]() |
@Sjizzle - see here in regards to sextant:
http://www.subsim.com/radioroom/show...1&postcount=61 and http://www.subsim.com/radioroom/show...9&postcount=63 If you can take a reading and tell me what the angle val was and what the real value should be I could write some calibration code
|
|
|
07-21-13, 02:32 PM
|
#2501 |
|
Mate
![]() Join Date: Feb 2003
Location: España
Posts: 56
Downloads: 128
Uploads: 0
|
Bravo, TDW. Your words and your work is our hope. All the 24Flotilla thanks you.
|
|
|
07-21-13, 03:13 PM
|
#2502 |
|
Count Dracula
|
idk if it's help but it's almost imposible to calculate the angel with that sextan cos u can't look enough up and u can calculate the horizontal angel only the vertical ... ( if the stars or moon are not to high if they are too high u can't calculate the angel cos u can't look up too high )
Moon Shot Example Lets say this is the data: DR position Lat = 44.025° N, Lon = -67.850° W Eye height = 2 meters Greenwich date 7/15/2001 Index correction IC = +3.4’ Time of observation UTC = 14h 20m 21s Sextant measured altitude of the moon Hs = 44° 22.1’ Upper Limb (UL) Altitude corrections from moon correction tables, in two parts: CorrDIP = -2.5’ CorrALT = +50.9’ + 3.2’ –30.0’ (the –30’ is for using the UL) = 24.1’ True altitude Ho = 44° 22.1’ + 3.4’ -2.5’ +24.1’ = 44° 47.1’ = 44.7850° From the almanac tabular data, at the 14th hour July 15 2001: GHA table = 100° 23.7’ v = +12.2’ DEC table = +12° 9.4’ N d = +11.2’ HP = 56.8’ Increment of GHA for the 20 minutes and 21 seconds CorrGHA = 4° 51.3’ Additional increment due to variation v Corrv = 4.2’ GHA = 100° 23.7’ + 4° 51.3’ + 4.2’ = 105° 19.2’ = 105.3200° Increment of DEC for 20 minutes due to rate d is Corrd = +3.8’ DEC = +12° 9.4’ + 3.8’ = 12° 13.2’ = 12.2200° Calculations: Local Hour angle LHA = GHA + Lon = 105.32° + - 67.850° = 37.470° Calculated Altitude Hc = arcSin[ Sin(12.22°) x Sin(44.025°) + Cos(44.025°) x Cos(12.22°) x Cos( 37.470°) ] Hc = 44.817° = 44° 49.0’ Intercept Offset distance Doffset = 60 x (44.368° –44.817°) = -2.0 n mile Offset the assumed LOP away from the moon’s azimuth. Calculated Azimuth direction of moon Zo = arcCos[{Sin(12.22 °) – Sin(44.025°) x Sin(44.817°)}/{Cos(44.025°) x Cos(44.817°)}] Zo = 123°, and since 0 < LHA <180 (post-meridian), Zn = 360 - Zo = 237° Star Shot Example You took a shot of Deneb in the constellation of Cygnus, morning twilight: DR position Lat = 44.025° N, Lon = -67.850° W Eye height = 2 meters Greenwich date 7/15/2001 Index correction IC = +3.4’ Time of observation UTC = 8h 31m 24s Sextant measured altitude of Deneb, Hs = 59° 47.8’ Altitude corrections from the abridged corrections table: CorrDIP = -2.5’ CorrALT = -0.5’ True altitude Ho = 59° 47.8’ +3.4’ –2.5’ – 0.5’ = 59° 48.2’ = 59.8033° From the almanac tabular data, at the 8th hour July 15 2001: GHAAries table = 53° 14.4’ SHADENEB = 49° 37.4’ DECDENEB = +45° 17.1’ N No v or d corrections for stars Increment of GHA for the 31 minutes and 24 seconds CorrGHA = 7° 52.3’ GHA = 53° 14.4’ + 7° 52.3’ + 49° 37.4’ = 110° 44.1’ = 110.735° DEC = DECDENEB = +45° 17.1’ N = +45.2850° Calculations: Local Hour angle LHA = GHA + Lon = 110.735° + – 67.850° = 42.885° Calculated Altitude Hc = arcSin[ Sin(45.285°) x Sin(44.025°) + Cos(44.025°) x Cos(45.285°) x Cos( 42.885°) ] Hc = 59.830° = 59° 49.8’ Intercept Offset distance Doffset = 60 x (59.8033° –59.830°) = –1.6 n mile Offset the assumed LOP away from the star’s azimuth. Calculated Azimuth direction of star Zo = arcCos[{Sin(45.2850°) – Sin(44.025°) x Sin(59.83°)}/{Cos(44.025°) x Cos(59.83°)}] Zo = 72°, and since 0 < LHA <180 (post-meridian), Zn = 360 - Zo = 288°
__________________
Last edited by Sjizzle; 07-21-13 at 03:25 PM. |
|
|
07-21-13, 03:15 PM
|
#2503 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
|
|
|
|
07-21-13, 03:25 PM
|
#2504 | |
|
Bosun
![]() Join Date: Jun 2013
Posts: 66
Downloads: 66
Uploads: 0
|
Quote:
TDW: Thank you for reply. I think i will try first trying another mission with same mod list and if that does not work... try your latest version of generic patcher... I have all the original release files saved :<) I will report back my results... I will not do this evening the 21st. I have to start a probate file and finish another... so I am looking at Tuesday:<) Thank you Rol |
|
|
|
07-21-13, 03:32 PM
|
#2505 | |
|
Black Magic
![]() |
Quote:
I had to clear my head so I took one of the motorcycles out for a little ride. I was riding next to the river enjoying the view and beautiful day when it hit me...I'm making this harder than it needs to be. All I need to do is find the camera's view matrix and extract the pitch from it. Now to find the camera's view matrix... |
|
|
|
![]() |
|
|
