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 01-03-12, 10:26 AM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by dcb View Post
TDW, please check your PM. Thank you.
When I was playing around with that sub on the bottom thing I was moving one bone up in the sub:



For the 7b this was Room_EXT. I simply moved it up till it was in centerline of the sub.

If you're going to do this please fix the other bones on this sub. There are many that are way out of position...Something doesn't look right...

EDIT:

Granny Viewer confirms that I have a problem with bones. Now I have to figure out why
TheDarkWraith is offline   Reply With Quote
Old 01-03-12, 10:47 AM   #2
dcb
Grey Wolf
 
Join Date: Apr 2005
Location: Bucharest, Romania
Posts: 845
Downloads: 547
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
For the 7b this was Room_EXT. I simply moved it up till it was in centerline of the sub.

If you're going to do this please fix the other bones on this sub. There are many that are way out of position...Something doesn't look right...
Answered initially by PM, but here's my findings in the thread as well: I already moved the Room_EXT bone (from -0.6 to -0.5, right at the bottom of the hull model) and the other bones that reference to it, in other GR2 files - there's a couple of them, in TRA and Waypoints, plus another in the NSS_Uboat7a.gr2 file). Still no go. The sub still hovers above the seafloor and cannot touch it

EDIT
Of course I will help fixing the other bones. That's the least I can do for all the work you put in this app. I'll get at it as soon as you confirm that the editor works alright.

LATER EDIT
TDW, could you please also code your GR2 Editor to scale at lower resolutions? If this is not asking too much, of course, but I, for one, prefer to work with the display at 1400x900, and the app is larger than the screen at this resolution. Anyway, if this means too much work, just ignore it.

Last edited by dcb; 01-03-12 at 11:09 AM.
dcb is offline   Reply With Quote
Old 01-03-12, 10:53 AM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by dcb View Post
Answered initially by PM, but here's my findings in the thread as well: I already moved the Room_EXT bone (from -0.6 to -0.5, right at the bottom of the hull model) and the other bones that reference to it, in other GR2 files - there's a couple of them, in TRA and Waypoints, plus another in the NSS_Uboat7a.gr2 file). Still no go. The sub still hovers above the seafloor and cannot touch it
By all accounts moving that bone up should have moved a great many more up. I see a problem in my app that I have to fix regarding bones...When you move that bone cfg#M01 should move also but it doesn't.
TheDarkWraith is offline   Reply With Quote
Old 01-03-12, 10:57 AM   #4
Hartmann
Sea Lord
 
Join Date: Mar 2005
Location: Grid CH 26, Spain ,Barcelona
Posts: 1,857
Downloads: 204
Uploads: 0
Default

Quote:
Originally Posted by dcb View Post
Answered initially by PM, but here's my findings in the thread as well: I already moved the Room_EXT bone (from -0.6 to -0.5, right at the bottom of the hull model) and the other bones that reference to it, in other GR2 files - there's a couple of them, in TRA and Waypoints, plus another in the NSS_Uboat7a.gr2 file). Still no go. The sub still hovers above the seafloor and cannot touch it
I read in some place that is about a collision detection sphere moving the bone alone don´t make any effect.But i remember that there are side effects messing with that sphere.

but i lost what thread was .
__________________
But this ship can't sink!...

She is made of iron, sir. I assure you, she can. and she will. It is a mathematical certainty.

Strength and honor
Hartmann is offline   Reply With Quote
Old 01-03-12, 11:04 AM   #5
dcb
Grey Wolf
 
Join Date: Apr 2005
Location: Bucharest, Romania
Posts: 845
Downloads: 547
Uploads: 0
Default

Quote:
Originally Posted by Hartmann View Post
I read in some place that is about a collision detection sphere moving the bone alone don´t make any effect.But i remember that there are side effects messing with that sphere.

but i lost what thread was .
Here is the thread. For some reason, it got archived...
http://174.123.69.202/~subsimc/radioroom/showthread.php?t=169382

This was the only attempt - to my knowledge - to fix this very unrealistic issue.

I've been trying for some time to edit the collision spheres myself, but Goblin Editor does not seem the right tool to do it.
dcb is offline   Reply With Quote
Old 01-03-12, 11:16 AM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Found the bug in my code relating to the bones When you go changing things you always introduce errors I was a little short-sighted on what I needed from my GR2Coords class (it handles all the transforms, positions, rotations, etc. for anything requiring a transform) so I had to make some modifications to it. One was I needed the world transform of the object (no parent influence) and I needed a world transform that was influenced by a global transform. I coded those in and forgot to change what the bones were using when they updated their parent transforms. Their parent transforms were called World before. They are now RenderWorld and that is what I forgot to update

Now with that fixed here's what you should've seen when you moved Room_EXT:


All those other nodes move with it. This will cause problems if those other nodes are not placed back where they should be.

Now I have to release a bug fix version as this is a critical error on my part
TheDarkWraith is offline   Reply With Quote
Old 01-03-12, 11:24 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

v1.0.502.0 released. See post #1

This is a critical update. A major error was found in the bones relating to bones with parents. Bones could possibly not be rendered correctly because of this bug. I introduced this bug when I had to make some changes to a class of mine. The bug has been fixed in this version
TheDarkWraith is offline   Reply With Quote
Old 01-03-12, 02:24 PM   #8
Will-Rommel
Chief
 
Join Date: Jan 2008
Posts: 319
Downloads: 81
Uploads: 0
Default

Neat work
__________________
-Fighting is a lifestyle-
Will-Rommel 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 05:28 PM.


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.