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

Hi

It's me again

Great! This new version: Super fast, bones menu ...

Here's a little report and some questions for you TheDarkWraith:

- Try to import / export:

Regional setting: ON
File: Room_QR1.GR2
Mesh: Room_QR1_Radar (mesh)

- Export: with AO and textures -> Import: Room_QR1_Radar.objAO (not opened/no change) -> Error




same with all other attempts and adjustments (Regional On/off-with and without AO..)

but with the perdea mesh ,i have this error :



- 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

otherwise open. obj in 3DS Max is impeccable!


Questions :

- Is there a way to rotate (shortcuts) from the point of view (on the spot) ?
-For the UV maps will it be possible to load them directly into 3ds Max ?

Thank in advance

BigReg/BigRegOne



"Only by pumping as you get something and even if you do not succeed ... hey well that you will not hurt."

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


Default

Quote:
Originally Posted by BIGREG View Post
Hi

It's me again

Great! This new version: Super fast, bones menu ...

Here's a little report and some questions for you TheDarkWraith:

- Try to import / export:

Regional setting: ON
File: Room_QR1.GR2
Mesh: Room_QR1_Radar (mesh)

- Export: with AO and textures -> Import: Room_QR1_Radar.objAO (not opened/no change) -> Error

I'll try this file also and see what's going on

same with all other attempts and adjustments (Regional On/off-with and without AO..)

but with the perdea mesh ,i have this error :

I'll check this also.

- 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?


Questions :

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

Not sure what you are asking here. I think you're asking if there's a way to move the camera differently. I think this is what you're asking from my opening of the Room_QR1.GR2. It's hard to position camera to where you want it. I'll have to add another camera mode (first person view).

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

Once again not sure what you are asking here.
See above in yellow.

Keep the questions and bug reports coming
TheDarkWraith is offline   Reply With Quote
Old 02-13-12, 03:03 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

I get an error when trying to import Room_QR1_Radar also. Looking into why...
TheDarkWraith is offline   Reply With Quote
Old 02-13-12, 03:06 PM   #4
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   #5
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   #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!
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   #7
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   #8
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   #9
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   #10
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   #11
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, 02:51 PM   #12
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   #13
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   #14
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-13-12, 03:35 PM   #15
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
- 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
Ah, ok, you're not even getting the UV maps to appear. Select a mesh. In UVs box of the mesh tab there are two buttons 1 and 2. 1 will show you the UV maps for that mesh using texture coordinates 0 (diffuse). 2 will show you the UV maps for that mesh using texture coordinates 1 (AO). When the UV map windows appear you double click those to save to file.

You are actually rotating the camera axis and not the world axis. The camera (currently) is a 3rd person view camera. I'll code in a way to select 1st person view camera.

You want a way to export only the UV coordinates and nothing else? I need to see something that shows me where this is done. I need to see some kind of file so I can see how the formatting goes.
TheDarkWraith 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.