![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Silent Hunter
![]() Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
|
![]()
So as not to clog Captscurvy's optimeter thread with my ramblings I have decided to start this thread.
This thread is intended for the betterment of my IJN, British and French scope views, as captscurvy stated a FOV of 32° was required to use his omnimeter, and since I think it is a very nice addition to SH4, I have decided to check that my scopes are compliant with it. keltos |
![]() |
![]() |
![]() |
#2 | |
Silent Hunter
![]() Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
|
![]() Quote:
so should i set 32° instead ? also, and i don't remember the exact figure, when at high power (6x for the IJN) the field of view should be in the magnitude of ? 10° only shouldn't it ? how do I get that, or is the FOV divided by the magnification at that level ? stock obs periscope : angular angle=62,4814 stock scopes, both observation and attack, have : ![]() IJN scopes have a magnification of Obs scope : 4.0 x and 1.0 x attack scope : 4.0 x and 1.0 x (should be 6.0x) FOV :62,4814° (=angular angle) British scopes have a magnification of : stock French scopes have a magnification of Obs scope : 2.0 x and 1.1 x attack scope : 6.0 x and 1.1 x FOV : 32° (=angular angle) German scopes have a magnification of : note that the gradings on the scope are for low power (left) and high power (right) right Hitman ? let's try and do this once and for all ! keltos Last edited by keltos01; 01-06-11 at 02:34 AM. |
|
![]() |
![]() |
![]() |
#3 |
Pacific Aces Dev Team
|
![]()
The problem is that you have actually two things to take care of,
1) Camera aperture (The setting in the cameras.dat) 2) Periscope screen in the game This last one is the graphic you are tweaking, and it will show the correct FOV only as long as you tune it according to the cameras aperture. Let me explain that: You have a rounded hole in the middle of the screen, but that hole can be bigger or smaller, you choose how much. If you make it bigger you are actually gaining field of view, so you would then have to tune the cameras.dat accordingly. What you need to do is: 1) Decide a standard size of the hole, for all your optical views. I have chose 480 pixels in my mods, for example 2) Tweak the cameras.dat so that you set the proper aperture angle to make that 480 pixels correspond to the 32º you want to have 3) Place the reticle markings in the hole in the proper places, with 1 degree spacing in horizontal separation 4) Tweak all the other cameras apertures in cameras.dat to the same one as in your optics, so that the zoom proportions are correct. (Otherwise it could happen that at 6x zoom in your optics you see objects that are apparently only 2x what you see on the bridge)
__________________
One day I will return to sea ... |
![]() |
![]() |
![]() |
#4 |
Silent Hunter
![]() Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
|
![]()
let's use the french scope as an example :
I edited the Periscope_Mask_1024.dds file (stock us) I then scaled the periscope view I had to fit the hole on the screen and redrew the lines and tick marks ![]() the stock's hole is 540 pixels wide as far as I can tell 1) Decide a standard size of the hole, for all your optical views. I have chose 480 pixels in my mods, for example so mine is like stock : 540 pixels 2) Tweak the cameras.dat so that you set the proper aperture angle to make that 540 pixels correspond to the 32º you want to have how ? 3) Place the reticle markings in the hole in the proper places, with 1 degree spacing in horizontal separation I am measuring in pixels..; how do I calculate how many pixels per degree ? [edit] 480 pixels 240 half 240 = 16° 240/16 = 1 mark every 15 pixels right ? [edit] ![]() in the french scope view, there is a vertical line 175 pixels from the center with 9 divisions, so one every 19.44 pixels, I chose 19.5, and a zone without marks 95 pixels wide as half the circle is 270 pixels if the half the view is 16° wide = 270 pixels then 1° =270/16 = 16,875 pixels so the divisions as shown on the reticle are each 1.15° 4) Tweak all the other cameras apertures in cameras.dat to the same one as in your optics, so that the zoom proportions are correct. (Otherwise it could happen that at 6x zoom in your optics you see objects that are apparently only 2x what you see on the bridge) ? keltos Last edited by keltos01; 01-06-11 at 08:07 AM. |
![]() |
![]() |
![]() |
#5 |
Silent Hunter
![]() Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
|
![]()
« Quel grossissement as-tu prévus pour les deux périscopes ? Le commandant L'Herminier donne l'info dans son livre pour le Casabianca, comme ils ont contemporains l'un l'autre, je suppose que ça doit être la même chose.
Angle + grossissement cité par L'Herminier : "environ 6° au grossissement 6, 40° au grossissement normal 1.1." » so it's 6° FOV at 6x zoom and 40° FOV at 1.1x zoom for the french attack periscope |
![]() |
![]() |
![]() |
#6 | |
Admiral
![]() |
![]()
Hi keltos, I've read your thread and Hitman is correct in his assessment in how to get the proper Field of View size with whatever size periscope view opening you use.
As an example, I'm going to use the known American periscope specs as having a True Field of View of 32 degrees with a low power magnification of 1.5x, the high power magnification of 6.0x. First the game's Camers.dat parameter of "AngularAngle=62.4814" is influenced by the parameter "Viewport=xxxx". Now, I'll be the first to admit I don't understand this relationship, so being able to give you a math lesson on how the 62.4814 (which in Silent 3ditor states is in degrees) relates to a True Field of View of 36 degrees in-game.... I DON'T KNOW!! But it does. And the FoV is 38 degrees when you use the 1280x1024 game resolution!! I don't know why or how I just know it does. So you may ask, How do you know what the stock game Field of View is? I've tested for it, and I recommend you do the same. In order to test the true FoV of the periscope (or any periscope image you may wish to use), you must use the only tool that is available to you and that's the periscopes relative compass bearing. You will also need to have a test background to measure. A group of stationary ships set at about equal distance from a stationary sub will do the trick. Try THIS download called "Optical Test Mission Pack". There is an American mission called "Optical Test Mission" that can be activated through JSGME. When it is installed in-game you will find under the American Quick Mission menu a mission entitled "Test 21". Run the mission and you will find yourself in front of a group of ships that can be measured using the compass bearing of the periscope. I also recommend you activate the second mod in the "Pack" called "Big Bearing Compass for Stock Periscope". This will give you a much larger compass to read exactly what degree you are looking at. NOTE: These two mods were intended for use with the American side of play. So, let me know if your scope mods are only for the German side. If they are, I'll make you a German mission and put the Big Compass Bearing on the German periscope. Once you have the mods running on a stock game, go to the periscope and choose the low power magnification. Try to put the center line of the scope directly on a degree mark (does not matter what it is) and make sure one of the outer edges of the scope is lined up on a reference point of a ship background (again, it does not matter what reference point you choose, or whether you go left or right) but choose a reference point that you will find easily and precisely when you do the next step. Move the scopes center line onto the point you picked out at the edge of the scope. Now read the compass bearing (and be exact; no almost, or just a bit off will do). The difference between compass degrees of where you started and what the reference point compass bearing reading is will be half the true field of view for the scope. If you count 18 degrees difference between the center line bearing and the edge bearing you measured to, the True Field of View is 36 degrees wide. To see some images of doing this, check out the first couple of posts in this thread. I could do math all day and couldn't get the "AngularAngle=62.4814" to end up being a true FoV of 36 degrees when the game is running!! BUT, That's what it is!! So, find out what your specific French periscopes Field of View and Magnification in real life really is. Make a "Periscope_Mask" image to suit the French style (if the French uses the 32 degree FoV, simply measure the Alpha channel black image and divide the width of pixels by 32. This will give you the correct spacing of the Telemeter divisions to put onto the periscope_mask. Every image is different, for instance my periscope images I'm using for Optical Targeting Correction are larger than the stock periscope viewable size. The viewable image size is 768 pixels wide (least wise that's the size on a 1024x1024 canvas). Dividing 32 into 768 you get 24 pixels. So, there is 24 pixels between each Telemeter division on my scopes. This will give you the correct measurement for the FoV of the scope you make, you just need to re size the AngularAngle and Magnification of the Camera.dat file to have the view match the 32 degree width of the scope you made. You may ask, How did you make the AngularAngle come out to the correct FoV size? The old saying "If you don't succeed the first time try again" was the way I got it. You know Thomas Edison did hundreds of tries to find the right metal element to put into his light bulb before he found tungsten worked the best. Well, after changing the magnification parameter to what the American scope should be, I just kept fiddling with the AngularAngle until I came up with the correct FoV when I'd restart the game using my "Test 21" mission. No math, I'm just too stupid to know what to do (in this case)!! ![]()
__________________
The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813 USS Chesapeake Captain James Lawrence lay mortally wounded... Quote:
Last edited by CapnScurvy; 01-06-11 at 06:26 PM. |
|
![]() |
![]() |
![]() |
#7 | ||
Admiral
![]() |
![]() Quote:
Leave it to the French to come up with such an odd combination. High Power is 6x magnification with a 6 degree FoV Low Power is 1.1x magnification with a 40 degree FoV The point is they don't add up with each other like the American periscope. High Power is 6x magnification with an 8 degree FoV Low Power is 1.5 magnification with a 32 degree FoV You see, the American figures are of a multiple of 4 which help in keeping a target height or length in a direct connection, whether you use either the high or low power magnification. For the French to use the Telemeter division marks, there was probably a set just for the low power magnification and a separate set for high power. And, since the French have such a different Low Power FoV of 40 degrees (the German periscopes were 32 degrees), my Omnimeter for finding range when counting the Telemeter divisions up to a known height will be useless. ========= Keltos, I noticed something else about the "AngularAngle=" on the Silent 3ditor image you posted. That figure should read 62.4814 not 62,4814. Put a decimal point after 62. ![]()
__________________
The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813 USS Chesapeake Captain James Lawrence lay mortally wounded... Quote:
Last edited by CapnScurvy; 01-06-11 at 06:52 PM. |
||
![]() |
![]() |
![]() |
#8 |
Silent Hunter
![]() Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
|
![]()
[QUOTE=CapnScurvy;1568288]
First the game's Camers.dat parameter of "AngularAngle=62.4814" is influenced by the parameter "Viewport=xxxx". Now, I'll be the first to admit I don't understand this relationship, so being able to give you a math lesson on how the 62.4814 (which in Silent 3ditor states is in degrees) relates to a True Field of View of 36 degrees in-game.... I DON'T KNOW!! But it does. And the FoV is 38 degrees when you use the 1280x1024 game resolution!! I don't know why or how I just know it does. A group of stationary ships set at about equal distance from a stationary sub will do the trick. Try THIS download called "Optical Test Mission Pack". done ! NOTE: These two mods were intended for use with the American side of play. So, let me know if your scope mods are only for the German side. If they are, I'll make you a German mission and put the Big Compass Bearing on the German periscope. I'll need one for our IJN mod : I guess I might've to correct the IJN scope view, and it uses the german side, so yes please do make it for me ! ![]() Once you have the mods running on a stock game, go to the periscope and choose the low power magnification. Try to put the center line of the scope directly on a degree mark (does not matter what it is) and make sure one of the outer edges of the scope is lined up on a reference point of a ship background (again, it does not matter what reference point you choose, or whether you go left or right) but choose a reference point that you will find easily and precisely when you do the next step. ok 005° Move the scopes center line onto the point you picked out at the edge of the scope. ok Now read the compass bearing (and be exact; no almost, or just a bit off will do). 355° The difference between compass degrees of where you started and what the reference point compass bearing reading is will be half the true field of view for the scope. 10° so FOV of 20° ! If you count 18 degrees difference between the center line bearing and the edge bearing you measured to, the True Field of View is 36 degrees wide. To see some images of doing this, check out the first couple of posts in this thread. I could do math all day and couldn't get the "AngularAngle=62.4814" to end up being a true FoV of 36 degrees when the game is running!! BUT, That's what it is!! So, find out what your specific French periscopes Field of View and Magnification in real life really is. Make a "Periscope_Mask" image to suit the French style (if the French uses the 32 degree FoV, simply measure the Alpha channel black image and divide the width of pixels by 32. This will give you the correct spacing of the Telemeter divisions to put onto the periscope_mask. Every image is different, for instance my periscope images I'm using for Optical Targeting Correction are larger than the stock periscope viewable size. The viewable image size is 768 pixels wide (least wise that's the size on a 1024x1024 canvas). Dividing 32 into 768 you get 24 pixels. So, there is 24 pixels between each Telemeter division on my scopes. This will give you the correct measurement for the FoV of the scope you make, you just need to re size the AngularAngle and Magnification of the Camera.dat file to have the view match the 32 degree width of the scope you made. You may ask, How did you make the AngularAngle come out to the correct FoV size? The old saying "If you don't succeed the first time try again" was the way I got it. You know Thomas Edison did hundreds of tries to find the right metal element to put into his light bulb before he found tungsten worked the best. Well, after changing the magnification parameter to what the American scope should be, I just kept fiddling with the AngularAngle until I came up with the correct FoV when I'd restart the game using my "Test 21" mission. No math, I'm just too stupid to know what to do (in this case)!! ![]() regards keltos |
![]() |
![]() |
![]() |
#9 |
Silent Hunter
![]() Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
|
![]() ![]() camera set at 78° ![]() camera set at 75° : low power = FOV of 40° -> spot on ! ![]() camera set at 75° : High power = FOV of 7.6° -> grrrrrr camera set at 40 gives 20° FOV 80 gives 44° FOV 78 gives 42° FOV 76 gives 40.6° FOV 75 gives 40° FOV can you set a different camera angle for high power ? so that I get my 6° FOV ???? keltos Last edited by keltos01; 01-07-11 at 04:31 AM. |
![]() |
![]() |
![]() |
#10 | ||
Admiral
![]() |
![]()
Looks like your figuring it out using the test missions!! That's good.
This is the only way to see just what the optical FoV is in the game. You may (or may not) already know this, but when your using the mouse to move the periscope, also use the Control Key (Ctrl) to slow down the movement of the drag feature. This makes the periscope movement a bit more precise when setting it to a point you want to read to attain its bearing. I've just updated the "Optical Test Mission Pack" found HERE with an additional German test mission. For those that have downloaded prior to today's date please download the Mission Pack again if you wish to check the German side of play. =============== Quote:
So, the French use a high and low magnification (and different FoV sizes)that isn't a multiple of each other, and here lies the rub. You could make just one magnification work by eliminating one of the magnifications and sizing the AngularAngle to fit the one you choose to keep. But, unless there's a multiple factor between the two (or how ever many magnification you use) I don't think the game will allow you to correctly size the scope.
__________________
The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813 USS Chesapeake Captain James Lawrence lay mortally wounded... Quote:
|
||
![]() |
![]() |
![]() |
#11 | |
Sea Lord
![]() Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,739
Downloads: 825
Uploads: 4
|
![]() Quote:
IOW with a 7200x24 pixel image size (1 degree every 20 pixels) for the bearing, the scope movement is minute (small) You really have to 'swing' the mouse to cover 360 ![]() |
|
![]() |
![]() |
![]() |
#12 |
Medic
![]() Join Date: Jun 2012
Location: Washington State, USA
Posts: 159
Downloads: 888
Uploads: 0
|
![]()
What path did you take to adjust the periscope view hole pixels? ...to 480 pixels....I can't seem to find it.
|
![]() |
![]() |
![]() |
|
|