SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
04-05-14, 10:01 AM | #3106 |
Black Magic
|
|
04-05-14, 10:05 AM | #3107 |
Commodore
Join Date: Apr 2005
Posts: 641
Downloads: 276
Uploads: 0
|
cool, lets have children...
haha your're even in range sometimes. I saw in your posts you went to Osterode/Harz some time? thats not very far. O. is not the best place in DE imho. Harz mountains is great... The Converter you recomment is clean afaik, checked with virustotal. Very handy tool http://www.mediafire.com/download/jg...oatConvert.zip You never know |
04-05-14, 10:13 AM | #3108 |
Black Magic
|
Yes I usually make it out to Osterode once or twice a year. Walking the streets of Osterode is like stepping back into the 18th century. It's so peaceful and relaxing compared to the US. Are you familiar with the big Piller plant/factory in Osterode or Bilshausen?
|
04-05-14, 10:27 AM | #3109 | |
Commodore
Join Date: Apr 2005
Posts: 641
Downloads: 276
Uploads: 0
|
Quote:
So yes i know it exists but not from a personal point of view. No luck with the render patch btw activating mid campaign - CTD Single mission works with no noticable loss of performace afaik will have to wait when back in port for campaign testing. This will happen this evenig. |
|
04-05-14, 10:41 AM | #3110 |
Commodore
Join Date: Apr 2005
Posts: 641
Downloads: 276
Uploads: 0
|
to get fully OT
some of the last and very fierce WW2 battles on the western front were fought out in that Area beginning with Osterode -> Herberg -> Bad Lauterberg -> Braunlage and finally Blankenburg were the "mighty" 12. Army and General Lucht surrendered to american forces. American (and German) losses were high in that area in that last day of WW2 in April 1945. Sad stories but also fascinating i pretend you're interested in that stuff as well. I was born and grew up in Bad Lauterberg. Maybe you could do some research for that events in those places when you come again some day. "Festung" Harz 1945: http://www.alpha64.de/1945.htm only german |
04-05-14, 04:30 PM | #3111 |
Black Magic
|
Today the SH4 forums gave me a great idea for a new patch: have the flags blow in the wind's direction
I fired up OllyDebug and figured out where the object's matrix data is and where it's combined matrix data is (it's matrix data * parent's matrix data). After locating those two key bits of info I then had to figure out the kernel functions for reading angles from the matrix data and storing new angles to the matrix data. Luckily for me, the kernel just happened to have those two functions After a bit of playing around to figure out which value of the 3 angles returned was the yaw value (of the pitch, yaw, and roll returned) I was able to modify the yaw value returned for the flag. I modified the yaw value to have the flag yaw (rotate around it's Y axis) +45 degrees. I then called the kernel function to set the new angles in the matrix and it worked first try What I'm trying to derive currently is how to figure out how much the wind influences the flag's yaw. For instance, if the unit's speed is 8 knots @ 90 degrees, the wind's speed is 5 knots @ 315 degrees, how much should the flag yaw |
04-05-14, 05:28 PM | #3112 | |
Samurai Navy
|
Quote:
|
|
04-05-14, 06:29 PM | #3113 |
Black Magic
|
Actually I think the law of cosines applies here:
ship's heading (90) - winds heading (from 315 or 45 degrees) = 45 degrees square root of (8^2 + 5^2 + (2*8*5*COS(45))) = 12.065 12.065 is the length of the 3rd side of the triangle. flag's angle in relation to ship = COS-1((8^2 + 12.065^2 - 5^2) / (2*8*12.065)) = 17.04 degrees flag's angle = 17.04 + 90 = 107.04 degrees |
04-05-14, 09:34 PM | #3114 |
Black Magic
|
flags affected by wind patch coming along nicely
|
04-06-14, 12:06 AM | #3115 | |
Count Dracula
|
Quote:
if u wish to go back in time i recomand u a vacation in Sighisoara ( my home town ) sorry for offtopic Dracula's ( Vlad the impaler ) birth place http://upload.wikimedia.org/wikipedi...birthplace.jpg
__________________
Last edited by Sjizzle; 04-06-14 at 03:45 AM. |
|
04-06-14, 02:56 AM | #3116 |
Captain
Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
|
|
04-06-14, 05:50 AM | #3117 | |
Samurai Navy
|
Quote:
|
|
04-06-14, 07:49 AM | #3118 | |
Black Magic
|
Quote:
|
|
04-06-14, 07:51 AM | #3119 |
Samurai Navy
|
Yeah, now that I´m more awake I can see why tangens won´t work.
|
04-06-14, 07:59 AM | #3120 | |
Planesman
Join Date: Jan 2010
Location: Italy
Posts: 196
Downloads: 333
Uploads: 0
|
Quote:
Salute Herr Kaleun! |
|
|
|