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 02-18-12, 04:09 PM   #1
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default

Just checked - rotation works I managed to rotate a waypoint and it turned the animation on it exactly as I hoped! I recon this #$%# turning at the end of the walk transition is gone for good finaly and more to that, we will be able to turn animations as needed! Man, isn't that cool?! I need to check though...
Vanilla is offline   Reply With Quote
Old 02-18-12, 04:14 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
Just checked - rotation works I managed to rotate a waypoint and it turned the animation on it exactly as I hoped! I recon this #$%# turning at the end of the walk transition is gone for good finaly and more to that, we will be able to turn animations as needed! Man, isn't that cool?! I need to check though...
when the character walks the other way you will still have the turning problem We have to clone the animation to take care of it. I haven't dove into animations yet.
TheDarkWraith is offline   Reply With Quote
Old 02-18-12, 04:21 PM   #3
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

a question for you TDW : with the bone editor menu ,i can change the needle axis rotation (for the fuel gauge in DER room) and is possible without change the mesh possition
__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok
BIGREG is offline   Reply With Quote
Old 02-18-12, 04:28 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
a question for you TDW : with the bone editor menu ,i can change the needle axis rotation (for the fuel gauge in DER room) and is possible without change the mesh possition
Don't understand what you're asking Screenshot maybe?

SH5 does not enforce the bone bindings for the meshes. So even though mesh x may be bound to bone y it means nothing except that bone y's maxproperties control mesh x (visibility, cast shadows, receive shadows, etc.).
TheDarkWraith is offline   Reply With Quote
Old 02-18-12, 04:40 PM   #5
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok
BIGREG is offline   Reply With Quote
Old 02-18-12, 05:15 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
a question for you TDW : with the bone editor menu ,i can change the needle axis rotation (for the fuel gauge in DER room) and is possible without change the mesh possition
I understand now. Yes, you can. The mesh's position and rotation is independent of the bone (for SH5)
TheDarkWraith is offline   Reply With Quote
Old 02-18-12, 06:00 PM   #7
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
I understand now. Yes, you can. The mesh's position and rotation is independent of the bone (for SH5)
For this, it is with the rotation (quaternion)
and I must come to rotate the view to see what I do
__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok
BIGREG is offline   Reply With Quote
Old 02-18-12, 06:42 PM   #8
pedrobas
Seasoned Skipper
 
Join Date: Apr 2007
Location: Huelva, Spain
Posts: 664
Downloads: 301
Uploads: 0
Default

Sorry if i ask a nonsense here since i don´t understand three quarters of what you talk, but with the actual state of the tool would be already possible to "move" the RWR SNORCHEL to the top of the snorchel or is not?
pedrobas is offline   Reply With Quote
Old 02-18-12, 07:21 PM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by pedrobas View Post
Sorry if i ask a nonsense here since i don´t understand three quarters of what you talk, but with the actual state of the tool would be already possible to "move" the RWR SNORCHEL to the top of the snorchel or is not?
very easily
TheDarkWraith is offline   Reply With Quote
Old 02-18-12, 07:23 PM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
For this, it is with the rotation (quaternion)
and I must come to rotate the view to see what I do
You don't know what quaternions are or how to input values to get the rotation you want? Most people don't understand or know what quaternions are. I'm adding a new menu item (Tools) along with quaternion to euler angles and euler angles to quaternion converters.

Found the problem with the quaternion values not being 'precise'. It has been fixed. I also noticed that I was letting you edit values if the flags were not set for it. That has been fixed also
TheDarkWraith is offline   Reply With Quote
Old 02-18-12, 10:18 PM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Added a new menu item Tools:


Clicking on Quaternion to Euler Angles (and vice versa) opens up this top level window:


I think it's pretty self-explanatory what this top level window is for
TheDarkWraith is offline   Reply With Quote
Old 02-19-12, 02:14 AM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
For this, it is with the rotation (quaternion)
and I must come to rotate the view to see what I do
You can rotate the bone while viewing it. Under the bones tab ensure show is checked. Select the bone you want to reposition/rotate in the bones treeview box. You'll see a lock-diamond surround the bone and in the bottom left corner of the app it will tell you which bone you have selected (you can also double click the bone/mesh in the render window to select it). Meshes can only be selected if bone's show is not checked.

Now depending on the flags the bone has set will determine what you can do with it. If it has position data then you can reposition it. If it has rotation data then you can rotate it. If it has scale/shear data then you can scale/shear it.

In the bottom right corner you'll see some or all of the letter SRT (Scale, Rotation, Translation). These are what you currently have enabled. Press S to toggle ability to scale. Press R to toggle ability to rotate. Press T to toggle ability to Translate. All these keys can be seen by pressing H for help. Help is dynamic - it will change based on what you have selected and what you're doing. These keys are not active until the camera is locked.

Now we need to lock the camera. Press C to lock camera. You'll notice that it says locked in the bottom right corner of the app.

Now with the camera locked we are now using the object's axis as the point of reference. Now you need to determine which axis's of freedom you want. You'll notice some or all of the letters XYZ in the bottom right corner of the app. Press X to toggle X axis freedom, press Y to toggle Y axis freedom, and press Z to toggle Z axis freedom. Now using the mouse and buttons you can rotate, reposition, and scale the object.

When done unlock camera by pressing C. This will make the camera's axis the point of reference for all mouse movements.

There are two buttons marked Save and Reset. If you don't like the changes you did press Reset to reset back to last saved (if no last saved then will restore to as loaded values). If you like your changes press Save to save them. Once you press Save that makes the changes the new 'as-loaded' values for when you press Reset.

Press Spacebar to clear selection (remove lock-diamond and deselect object). You can also double click on an empty part of the render window to do the same thing.

TheDarkWraith is offline   Reply With Quote
Old 02-19-12, 05:34 AM   #13
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Hi

TDW thank you , with you, it's Christmas every day
Today I'll try it all
__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok
BIGREG is offline   Reply With Quote
Old 02-18-12, 04:45 PM   #14
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
when the character walks the other way you will still have the turning problem We have to clone the animation to take care of it. I haven't dove into animations yet.
Ups! Well, at least it turns the animation on the waypoint, it is something!
Vanilla is offline   Reply With Quote
Old 02-18-12, 05:02 PM   #15
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default

Two more errors discovered:

1. Rotation quaternion fields do not want to hold the values entered. Take a bone, enter some rotation values, accept, see the bone rotated, check the fields again - the numbers are different from what you entered, after two or three attempts to enter needed values the fields 'agree' and finally hold the values. I think there is a rounding error in math somewhere, because the values in fields get closer and closer to the ones initially entered.

2. After first two bones creation tryng to create a third (and all the next ones) rotated bone providing rotation values in the bone creation dialog causes error: ****Skeleton's lat Bone defined has no data for MaxProperties *****
Then it says that the file will be closed because it is too corrupt.
If you don't enter rotation values the bone is created no problemo even with 'Has rotation data' checkbox checked. You can then edit the bone and rotate it no problem.
Vanilla 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 04:50 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.