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-13-12, 03:06 PM   #1
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

- I looked to export the UV maps, but I have not succeeded (impossible to select, edit menu empty).
Yet I saw that you had succeeded:
http://www.subsim.com/radioroom/show...&postcount=396

How are you wanting to export the UV maps? If you double click the windows that open with the UV maps you can save them to a file. Is that what you are wanting to do or something else?

I must be a little silly, I double click on any window? I just tried everywhere in every menu, in the middle, up, down, nothing !

Questions :

- Is there a way to rotate (shortcuts) from the point of view (on the spot) ?

Not sure what you are asking here.

rotate of the camera axis and not of the world axis

-For the UV maps will it be possible to load them directly into 3ds Max ?

Once again not sure what you are asking here.

possible backup format .UVW to open them directly in 3DSMax

BigReg/BigRegOne



"For it is as little as possible unhappy, always hitting on the same.

Proverbe Shadock
BIGREG is offline   Reply With Quote
Old 02-13-12, 03:25 PM   #2
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default

Meshes in a waypoint file? My, my... those devs!

Two more things, one major and one small. Tried editing file:
../Submarine/Common/Rooms/Waypoints_Room_QR2.gr2
1. Added a new bone to the parent Waypoints_Room_QR2
2. New bone (name SQ_BED05): 'has position data, no rotation data, no shear data'
3. Bone position is: -0.097114 -0.018419 -0.042244
4. Copied LOD Error value of 1.330672 from other bones
5. Closed bone editor
6. Tried to save, had exception: ArtToolInfo_ExtendedData: Exception while writing extended data Exception is [my rough translation from RU locale] there is no pointer to the object in this object instance

Second minor issue: when editing position data (double clicking in the bone viewer) when trying to enter leading '-' for a negative value gives 'invalid entry. Try again.' though the '-' still appears no problem, the same goes for pressing backspace trying to delete it. This doesn't happen in the bone creation dialog.

Can we get a bone delete and copy functions any soon?

TDW, that's an incredible tool you've made! I just couldn't believe that I am adding a complete new bone with two simple clicks, felt like a complete rocket sience, wow! I even felt somehow relieved when it threw an exception at me. You're the man!
Vanilla is offline   Reply With Quote
Old 02-13-12, 03:36 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
Meshes in a waypoint file? My, my... those devs!

Two more things, one major and one small. Tried editing file:
../Submarine/Common/Rooms/Waypoints_Room_QR2.gr2
1. Added a new bone to the parent Waypoints_Room_QR2
2. New bone (name SQ_BED05): 'has position data, no rotation data, no shear data'
3. Bone position is: -0.097114 -0.018419 -0.042244
4. Copied LOD Error value of 1.330672 from other bones
5. Closed bone editor
6. Tried to save, had exception: ArtToolInfo_ExtendedData: Exception while writing extended data Exception is [my rough translation from RU locale] there is no pointer to the object in this object instance

Second minor issue: when editing position data (double clicking in the bone viewer) when trying to enter leading '-' for a negative value gives 'invalid entry. Try again.' though the '-' still appears no problem, the same goes for pressing backspace trying to delete it. This doesn't happen in the bone creation dialog.

Can we get a bone delete and copy functions any soon?

TDW, that's an incredible tool you've made! I just couldn't believe that I am adding a complete new bone with two simple clicks, felt like a complete rocket sience, wow! I even felt somehow relieved when it threw an exception at me. You're the man!
Once I finish with the error BigReg posted I'll look into this
TheDarkWraith is offline   Reply With Quote
Old 02-13-12, 03:39 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Well I found an error of what BigReg posted about. Must have coded something when I was very sleepy because I used a completely wrong value for a section value (used the actual object's offset instead) That problem fixed now trying to import Room_QR1_Radar again....
TheDarkWraith is offline   Reply With Quote
Old 02-13-12, 03:51 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Found another error in the importer and it's due to the change I made to using a linked list. Fixed that.
Now here's the real question: In the importer I ignore the normals read in from the obj files. Should I keep ignoring them or should I use them?

Here's what I decided to do: If the obj file contains normals then I use them. If it doesn't then I use the existing vertex normal data.

Now I really just had a what the heck was I thinking moment. Looking over the importer code I totally ignore the texture coordinate data read in (I use the existing vertex data). On top of that my error checking for what was read in from the file was happening after I tried to set the new vertex data! What was I thinking? I really must have been tired when I coded this...
TheDarkWraith is offline   Reply With Quote
Old 02-13-12, 11:42 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
Meshes in a waypoint file? My, my... those devs!

Two more things, one major and one small. Tried editing file:
../Submarine/Common/Rooms/Waypoints_Room_QR2.gr2
1. Added a new bone to the parent Waypoints_Room_QR2
2. New bone (name SQ_BED05): 'has position data, no rotation data, no shear data'
3. Bone position is: -0.097114 -0.018419 -0.042244
4. Copied LOD Error value of 1.330672 from other bones
5. Closed bone editor
6. Tried to save, had exception: ArtToolInfo_ExtendedData: Exception while writing extended data Exception is [my rough translation from RU locale] there is no pointer to the object in this object instance

Second minor issue: when editing position data (double clicking in the bone viewer) when trying to enter leading '-' for a negative value gives 'invalid entry. Try again.' though the '-' still appears no problem, the same goes for pressing backspace trying to delete it. This doesn't happen in the bone creation dialog.

Can we get a bone delete and copy functions any soon?

TDW, that's an incredible tool you've made! I just couldn't believe that I am adding a complete new bone with two simple clicks, felt like a complete rocket sience, wow! I even felt somehow relieved when it threw an exception at me. You're the man!
The app has problems with this file and right now I don't know why. I fixed the errors when you tried to save it. I added the new bone and saved the file without error. When I reopened it no bones existed Investigating as to why...

EDIT:

I know why it has no bones now. When it wrote the skeleton data it wrote it 4 bytes ahead of where it was supposed to be. Now I have to figure out why it's writing 4 bytes before...

Last edited by TheDarkWraith; 02-14-12 at 12:00 AM.
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 12:31 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

test version 1.1.45.0 available here: http://www.mediafire.com/?ij9hu4dr9qeq7eo

Still can't add bones to Room_QR2.gr2. Still looking into why (the whole 4 bytes thing)

This should fix almost all the errors posted so far

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

Hi

I have just trying your new release :

- Save the Textures coordinates Maps in .jpeg,dds... : Ok
(But is it possible to choose the size, or it corresponds to the size of the textures in Meshes )
- Export Mesh : Ok
- Import directly after : Ok
- Save : Error !




- Open the exported Mesh in 3DSMax : loading ,but nothing to see,the subset names and textures are present.
- Open with Blender : Error !



Voila, I hope it'll help a little

BigReg/BigRegOne



"It is better to mobilize his intelligence of bull****, to mobilize its bull**** on something intelligent. "

Proverbe Shadock
BIGREG is offline   Reply With Quote
Old 02-14-12, 10:59 AM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
Hi

I have just trying your new release :

- Save the Textures coordinates Maps in .jpeg,dds... : Ok
(But is it possible to choose the size, or it corresponds to the size of the textures in Meshes )
- Export Mesh : Ok
- Import directly after : Ok
- Save : Error !

To change the size simply drag the bottom right corner of the texture coordinate window to the size wanted. You'll see two numbers '_ X _' in the bottom right box. Those numbers tells you what the current dimensions of the texture are. You can also double click the box with the two numbers to automatically take it to it's native size. Double click the bottom left box to.....hmm don't remember what I did for that one. I think it resizes it from full screen and back to previous size.

The error above you posted I'll fix. Some meshes don't have any materials and thus they will have no bindings
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 12:38 PM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

While trying to view the mouse mask radar wheel map in Room_QR1 I noticed the app threw an exception due to the mouse mask radar wheel having no materials assigned to it. I fixed this so that it will still render texture coordinates for those meshes that have no textures/materials assigned to them (if you choose not making a mask and the mesh has no textures/materials then it will automatically reassign your choice to creating a mask)
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 02:51 PM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
Second minor issue: when editing position data (double clicking in the bone viewer) when trying to enter leading '-' for a negative value gives 'invalid entry. Try again.' though the '-' still appears no problem, the same goes for pressing backspace trying to delete it. This doesn't happen in the bone creation dialog.

Can we get a bone delete and copy functions any soon?
I'll update the error checking for the entering of the position, rotation, and scale/shear data on the bone editor page to remove this minor annoyance.

Bone delete and copy functions will come after the adding of new bones works 100% for all files. Everything relies on the code the adding of new bones is using. If that code is not correct then nothing will work correctly. The main part of that code is the updating of all pointers and datatype definitions. This is the most critical part of the code and what is failing currently with Waypoints_Room_QR1. The reason it's failing is because of the linked list. There is a space of 0x4 bytes between two objects read in (where one ends and the next begins in the file). I have to figure out why that 0x4 byte space exists as it shouldn't.
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 03:15 PM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by TheDarkWraith View Post
The reason it's failing is because of the linked list. There is a space of 0x4 bytes between two objects read in (where one ends and the next begins in the file)
Sometimes just writing your thoughts sparks answers/clues...I think I have a solution to this problem...making changes...
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 03:23 PM   #13
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
A view in 3DSMax

BIGREG is offline   Reply With Quote
Old 02-14-12, 03:36 PM   #14
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
A view in 3DSMax
Glad to hear you got it working

Any changes you make you should be able to import back into the GR2 file (verticies count must stay the same with the current importer I have enabled). Then fire up the game and see what happens
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 04:00 PM   #15
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Ok,i have try just open the radar mesh , without any change and when importing into the editor, it lacks a name ?
I have try with Wings idem



But,all works fine just after export/import without opening it
BIGREG 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:01 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.