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 03-22-10, 04:05 PM   #1
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Ahhhh sorry Arclight - i thought you knew about the math behind it.

You can not per se calculate the value you need to put into camera.dat, but you can calculate what the Linier Field of View need to be at a certain range.
Thats what i did with the Emden Cruiser.

A is the Angular Field of View (for the scope thats 9° in high power fx.)

17,45 x A x 1000 = Linier FOV in mm at a range of 1000 meter

aka 17,45 x A = Liner FOV at 1000 meters

so in high power and a range of 1000 meters the scope need to cover 157 meters from the left edge to the right edge of the scope. That fits with an Emden Cruisers length.

I know that you CAN somehow calculate the value to put into the Camera.dat, but i have to "dig in" to find that. I allways found it easier to just adjust it to fit.
  Reply With Quote
Old 03-23-10, 05:00 AM   #2
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

HMMM - Emden is in the Official guide listed at 156 meters length, same on its wiki page... http://en.wikipedia.org/wiki/German_cruiser_Emden

Where did you find the other length ?

Ok i found this post in the old SH-4 mod forum threads.....


Quote:
I haven't had time to try this, but here's how I would have done it (and how I have done it for Armed Assault). If you open the scope texture, you can count the pixels between each tick. The one I just measured has 68 pixels between each group of four ticks. If each tick is 15 MoA, then the scope is obviously scaled for 68/(4*0.25) = 68 pixels per degree in high magnification. High magnification is 6x, so the base magnification is then 68/6 = 11.33 pixels per degree at unity. The texture width is 1024 pixels, so the base field of view should be 1024/11.33 = 90.35 degrees. This number goes in AngularAngle.
so in theory (mind I never did this my self)

Texture size / pixels pr degree / zoom = angularangle parameter number

I tried to use the math on your graphic ObsPeriscope_Mask_1024.dds

measured pixels from 15° left of center mark to 15° right of center mark was 454 pixels (for 30°)

thats 15,1 pixel pr. degree. So 1024/15.1 = 67,815

dividing that with x1,5 for the zoom gives 45,21 witch should then be the AngularAngle value used for the Observations scope camera setting.

for the attack scope graphic I also got 15,1 pixel per degree, ending up with the same angular angle value of 45,21.

I tried it and it did NOT work as it should - the graphics must be changed in size somewhere.

Repeated checks in game showed me that your camara.dat file should have an AngularAngle value of 95,0 (attack and observations perí) to work as you want. But the viable whole in your periscope is too big (or the ticks are too close together - there should be 38 tics over the diameter of the hole if each tick is 1° in x1,5 zoom. )

image otw soon.

If i were you I would enlarge the "hole" and remake the tics.
  Reply With Quote
Old 03-23-10, 06:22 AM   #3
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

I am doing just that, but being a bleeping perfectionist, drawing the bleeping graticules is a bleeping pain in the bleep. Taking a little bleeping time...



Should work once done though, just a little fine tuning on the angular thingy to get it perfect.

* and shiplength I got from the .cfg files in the "Sea" folder. It better be accurate.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 03-23-10, 06:48 AM   #4
Bilge_Rat
Silent Hunter
 
Join Date: Apr 2002
Location: standing watch...
Posts: 3,856
Downloads: 344
Uploads: 0
Default

I uploaded some screens of what it looks like in game:










__________________
Bilge_Rat is offline   Reply With Quote
Old 03-23-10, 07:20 AM   #5
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Arclight View Post
I am doing just that, but being a bleeping perfectionist, drawing the bleeping graticules is a bleeping pain in the bleep. Taking a little bleeping time...



Should work once done though, just a little fine tuning on the angular thingy to get it perfect.

* and shiplength I got from the .cfg files in the "Sea" folder. It better be accurate.
Heh - ill just bleeping have to wait a little then

im not sure the shiplength from the .cfg file is of any use other then displaying it self in the recognitions manual......

The real ship was 156 meters long, and the model of it looks ok. The Dido should also be 156 meters long thats correct both in the old SH-3 manual as well as on Wikipedia.
  Reply With Quote
Old 03-23-10, 07:28 AM   #6
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

So the Dido is right? That's a bleeping relief.

Sneak peak
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 03-23-10, 09:55 AM   #7
The General
The Old Man
 
Join Date: Aug 2006
Location: Mountain Ash, Wales, U.K.
Posts: 1,548
Downloads: 179
Uploads: 3
Default

Quote:
Originally Posted by Arclight View Post
Step by step.

Got my mathskills back up to scratch, think I'll do some calibrating.

Here's some samples of remade masks, sans markings, to give an impression of the shading and brightness. Let me know what you think.



Obs scope, att scope and uzo respectively.
I think these look bloody marvelous. Exactly correct
__________________
***THE GENERAL***
The General is offline   Reply With Quote
Old 03-23-10, 11:42 AM   #8
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Arclight it looks like your going for the gold medal

Just now i received an email from Carl Zeiss AG with a positive respond on a request for help finding info on the graticles in the periscopes.

I'm looking forward to see what that will bring.
  Reply With Quote
Reply

Tags
more realistic periscope, rmp

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 11:49 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.