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-24-12, 04:07 PM   #1081
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
Re edit : and after saving nothing change after editing a TDC needle (rescale and repositioning) I have reload the file with your editor , goblin & other no change !
and the save process has to work well ?
After thinking about this more what I think you're trying to say is you edited a mesh by repositioning/rotating/scaling it and you saved the file and when you loaded it up in Goblin or the app it wasn't repositioned. There would be one reason why for this: Did you press the Update and Store buttons after chaning the mesh's orientation? Anytime you change the orientation of a mesh/bone you have to click Update to store the settings in memory. Then you have to press Store to commit those changes to the file. After pressing both of those then when you save the file you will see the changes
TheDarkWraith is offline   Reply With Quote
Old 03-24-12, 04:11 PM   #1082
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Yes i know,but the button don't work ( not hightlighted), idem with the double clic in the menu -> " meshes" -> "edit"

Edit : I have just retry no highlighted "update" button !? and when i close the editor without save ,the editor say "save change bla.bla..." -> OK
Reload the .GR2 no change !?

Re edit : Retry with old version all works !!!??!!!???
__________________
~~~~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

Last edited by BIGREG; 03-24-12 at 04:27 PM.
BIGREG is offline   Reply With Quote
Old 03-24-12, 06:43 PM   #1083
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
Yes i know,but the button don't work ( not hightlighted), idem with the double clic in the menu -> " meshes" -> "edit"

Edit : I have just retry no highlighted "update" button !? and when i close the editor without save ,the editor say "save change bla.bla..." -> OK
Reload the .GR2 no change !?

Re edit : Retry with old version all works !!!??!!!???
If a mesh is bound to a bone and you change the bone's orientation the mesh will change with it as you know. Now to get the Update and Store buttons (and any changes buttons that apply) to show for the mesh you have to unselect the bone (press spacebar), uncheck Bones's Show, then select the mesh that was bound to the bone. Now the Update and Store buttons will be active (along with all the reset buttons that apply). Sounds a little complicated and may not make sense to you but here's the reason for this: you need to have the mesh selected before any reset buttons or any of the changes button are enabled so that you visually see the mesh being rendered. This way you know for sure which one you are about to undo/save changes to
TheDarkWraith is offline   Reply With Quote
Old 03-24-12, 11:53 PM   #1084
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

test version 1.1.139.1 available here: http://www.mediafire.com/?1rio0o68ohxxqb6

Fixed some problems with bone bindings and changing of mesh orientation. Fixed a problem when mesh's Stored button was pressed
Fixed logic problems with shallow clones (dealing with when to render)
Fixed some other problems noticed while using app
If you have changed a mesh, bone, or vertex orientation and/or position and you did not Update and Store those changes then when you go to close the file and after it asks you if you want to save changes made it will warn you that you did not Update and Store those changes and if you want to continue with save or not
If a mesh is bound to a bone and you change the bone's orientation and/or position and you click any of the bone's Changes buttons it will ask you if you want to do the same thing to all meshes bound to the bone

Last edited by TheDarkWraith; 03-25-12 at 12:23 AM.
TheDarkWraith is offline   Reply With Quote
Old 03-25-12, 04:21 AM   #1085
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

HI TDW

For the version 1.1.139.1

- Bone Binding : Not works ( i have all try ,but nothing to do )
the bone don't move with the mesh

- Shallows clones : The problem: works, but after the edition (displacement, resize ...)
The checkBox for the "Render shallow clone" is visible just after editing the mesh

- Store button : Work fine

- The backup process works again

Edit : Is this not a way to have the bone axis ,when i edit a mesh ?
For me will be easier to positioned exactly the needles (even with the bone binding, I have to reposition the axis, due to resizing)
__________________
~~~~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

Last edited by BIGREG; 03-25-12 at 05:26 AM.
BIGREG is offline   Reply With Quote
Old 03-25-12, 10:51 AM   #1086
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
HI TDW

For the version 1.1.139.1

- Bone Binding : Not works ( i have all try ,but nothing to do )
the bone don't move with the mesh

- Shallows clones : The problem: works, but after the edition (displacement, resize ...)
The checkBox for the "Render shallow clone" is visible just after editing the mesh

- Store button : Work fine

- The backup process works again

Edit : Is this not a way to have the bone axis ,when i edit a mesh ?
For me will be easier to positioned exactly the needles (even with the bone binding, I have to reposition the axis, due to resizing)
Now I understand why you're having problems with the bone bindings. The bone will not move with the mesh, the mesh will move with the bone. That means you have to move the bone to get the mesh to move with the bone. Moving the mesh will not move the bone.

The checkbox for rendern shallow clone will only visible when the mesh's orientation has changed or has been repositioned. It doesn't matter how it happens - you move/rotate it or it is moved via the bone it's bound to moves/rotates

You are wanting to have the bone axis visible along with the mesh's axis? Is that what you're asking?
TheDarkWraith is offline   Reply With Quote
Old 03-25-12, 02:12 PM   #1087
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

[Quote :] You are wanting to have the bone axis visible along with the mesh's axis? Is that what you're asking?

Yes bone axis must be visible when i edit the mesh
__________________
~~~~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 03-25-12, 03:53 PM   #1088
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
Yes bone axis must be visible when i edit the mesh
Coded and testing now
TheDarkWraith is offline   Reply With Quote
Old 03-25-12, 06:09 PM   #1089
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Added a new option under Edit:



Pretty self-explanatory what it does. In order for the bone to be rendered all rendering rules apply just as if Bone's Show is checked (bone must be checked in Bone's treeview to be rendered). All options in the Bone's tab apply for this bone rendering also (turn label on/off, origin on/off, etc.).

Added a new box in the Bone's Origin Axis box: Scale. This allows you to change the length of the bone's origin axis

In this screenshot you'll see the bone's origin axis is able to be seen with a value of 25 for the scale. Scale range is from 1 to 255 (1 being value you're currently used to seeing)



Fixed rendering problem with selected mesh's axis when rendering being done with shaders (programmable)

When Bone's Show is checked anything selected is now cleared (unselected)

Fixed more minor bugs found while using the app myself

test version 1.1.140.1 available here: http://www.mediafire.com/?cub2e45bo82609m

NOTE: STILL IN ALPHA STATE! BACKUP YOUR WORK BEFORE SAVING WITH THE APP!
TheDarkWraith is offline   Reply With Quote
Old 03-25-12, 06:54 PM   #1090
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
@TDW

The following file doesn't want to be open:
/Submarine/Common/Parts/Room_CR - Periscop + Anim.GR2
It gives: Incompatible GR2 error

I know that it contains animation but a similar file (I guess) opens no problemo:
/Submarine/NSS_Uboat7a/Submarine Parts/Room_EXT - TorpDoors + Anim.GR2
That's because there's an internal value I read from the beginning of the file. If that value doesn't match the value I'm looking for it means the GR2 file is a different 'kind' that may/may not be compatible with my GR2 parser. To be safe I just throw the error that it's an incompatible file for now.
TheDarkWraith is offline   Reply With Quote
Old 03-25-12, 07:32 PM   #1091
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Strange that the stock file opens fine in the latest version for me.


Are you trying to open a modded version of that file?
  Reply With Quote
Old 03-25-12, 09:03 PM   #1092
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by privateer View Post
Strange that the stock file opens fine in the latest version for me.


Are you trying to open a modded version of that file?
I can confirm that also. That GR2 file opens just fine

Making some changes as far as waypoints are concerned. I didn't really plan out the waypoints before coding it so now I'm paying the price for that. I originally had waypoints tied to Skeletons which is ok but not totally correct (it's ok because the Waypoints_Room_x GR2 file only contains 1 skeleton). The waypoints are actually tied to the GR2 file (Waypoints_Room_x) and thus I've changed the code to this. That means you will no longer see anything dealing with waypoints in the Bones treeview anymore. Anything relating to waypoints is found in the Waypoints tab.

I realized my error in attaching them to Skeletons when I was finally making the waypoints editor and implementing Vanilla's suggestions
TheDarkWraith is offline   Reply With Quote
Old 03-26-12, 01:38 AM   #1093
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Waypoints are now associated with the GR2 file instead of skeletons
Bones treeview no longer displays any waypoint information. All waypoint information is now found in the Waypoints tab
Fixed logic errors found in the menu entries
Added new menu entries to LNK@ paths:



Prompt before resolving - when Automatically resolve is enabled and this is checked it will prompt you before automatically loading the resolved LNK@ entry. This allows the user to bypass automatic loading of some LNK@ entries.

Automatically set (check) LNK@ bone - when Automatically resolve is enabled and the GR2 file associated with the LNK@ entry is loaded the LNK@ bone will be automatically checked. As you know or may not know, LNK@ resolves are not rendered until the LNK@ bone is checked. This will ensure the LNK@ resolves are rendered when loaded.

Added missing tooltips to some menu items

Fixed crash that sometimes happened when the app was shutting down

Fixed other errors/bugs found while using the app myself


In the screenshot above I elected not to automatically load Room_CT

test version 1.1.141.1 available here: http://www.mediafire.com/?imqeppa057jnclp

NOTE: STILL IN ALPHA STATE! BACKUP YOUR FILES BEFORE SAVING WITH APP!

I found something that I missed. Since I gave the ability to define new materials I didn't provide a way to change a map of a material (thus letting you use your new material). I'll fix this in next version. I also noticed that the app sometimes incorrectly reports materials and meshes affected when you go to edit a material. I'll fix this in next version also.

TheDarkWraith is offline   Reply With Quote
Old 03-26-12, 11:44 AM   #1094
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Hi TDW

Thank you for the change
I get try this new version
__________________
~~~~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 03-26-12, 12:41 PM   #1095
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default





Great

as I have already written, you can do that during the selection of Meshes, that the original texture can appear ? Other transparent
Alternatively , moving the mesh axis to correspond with the bone axis ?

another question: is there a way to delete textures (completely)
in CT_Room, I have textures that are not used, therefore useless
eg: torpedo (1). dds

Edit : one more question : No way to export/edit/import only the UVW (Diffuse) maps ?!?
__________________
~~~~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
Reply


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