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

Reply
 
Thread Tools Display Modes
Old 07-21-13, 10:03 AM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

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.
TheDarkWraith is offline   Reply With Quote
Old 07-21-13, 11:29 AM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
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.
I don't know, but it might be related with the "angular angle" setting of the obs scope camera.

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...
gap is offline   Reply With Quote
Old 07-21-13, 01:42 PM   #3
Sjizzle
Count Dracula
 
Sjizzle's Avatar
 
Join Date: Aug 2012
Location: 46°13′N, 24°47′E
Posts: 1,807
Downloads: 405
Uploads: 0


Default

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.
Sjizzle is offline   Reply With Quote
Old 07-21-13, 02:00 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

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.
TheDarkWraith is offline   Reply With Quote
Old 07-21-13, 02:08 PM   #5
Sjizzle
Count Dracula
 
Sjizzle's Avatar
 
Join Date: Aug 2012
Location: 46°13′N, 24°47′E
Posts: 1,807
Downloads: 405
Uploads: 0


Default

i can't finde that sextan option in your latest TDW ui test version
Sjizzle is offline   Reply With Quote
Old 07-21-13, 02:24 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Sjizzle View Post
i can't finde that sextan option in your latest TDW ui test version
Click Navigator to bring up his order bar. Click the sextant icon.
TheDarkWraith is offline   Reply With Quote
Old 07-21-13, 02:31 PM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

@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
TheDarkWraith is offline   Reply With Quote
Old 07-21-13, 03:15 PM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
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.
Let's assume that the AngularAngle setting is the horizontal FOV and that it is relative to a resolution of 1024 x 768 pixels. In order to know the angular distance between each vertical graduation mark, you should measure the distance in pixels between two marks, multiply it by AngularAngle, and divide the result by 1024
gap is offline   Reply With Quote
Old 07-21-13, 03:32 PM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Let's assume that the AngularAngle setting is the horizontal FOV and that it is relative to a resolution of 1024 x 768 pixels. In order to know the angular distance between each vertical graduation mark, you should measure the distance in pixels between two marks, multiply it by AngularAngle, and divide the result by 1024
Maybe. I really don't know.

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...
TheDarkWraith is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 12:27 AM.


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.