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:31 PM   #556
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 72
Uploads: 0
Default

../Submarine/Common/Rooms/Waypoints_Room_QR1.gr2 gave me this:

"There is no data type definition for this mesh."

Most of the other 'waypoints' files open just ok.
Vanilla is offline   Reply With Quote
Old 02-13-12, 02:36 PM   #557
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
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   #558
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
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:05 PM   #559
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
../Submarine/Common/Rooms/Waypoints_Room_QR1.gr2 gave me this:

"There is no data type definition for this mesh."

Most of the other 'waypoints' files open just ok.
Nice. That means there are more datatypes defined that I'm aware of I'll look into this also. Should be a very easy fix as I can set a breakpoint on this unknown datatype to figure out what it is
TheDarkWraith is offline   Reply With Quote
Old 02-13-12, 03:06 PM   #560
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   #561
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 72
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:35 PM   #562
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
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
Old 02-13-12, 03:36 PM   #563
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
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   #564
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
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   #565
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
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, 04:01 PM   #566
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

the two buttons 1 and 2 in "show" menu does not highlight ( and not work after selecting mesh and/or subset)

For the UVW map ,yes i have not see them in 3DSMax after import .obj or .objAO

BigReg/BigRegOne



"Have to pump to live and then live to pump."

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


Default

Quote:
Originally Posted by BIGREG View Post
the two buttons 1 and 2 in "show" menu does not highlight ( and not work after selecting mesh and/or subset)

For the UVW map ,yes i have not see them in 3DSMax after import .obj or .objAO
Guess I still don't understand what you're asking for in regards to UV maps

The importer is fixed Now there are two importers that I made. The first one is the one currently being used. It does not support importing of the AO data. It only imports the diffuse data. So even though you may select Import AO it never happens. I may update this first importer to do it. My second importer I made does import AO data but I have to make changes to the code so that it's compatible with my linked list data.

Looking into the other errors now
TheDarkWraith is offline   Reply With Quote
Old 02-13-12, 04:26 PM   #568
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
the two buttons 1 and 2 in "show" menu does not highlight ( and not work after selecting mesh and/or subset)

For the UVW map ,yes i have not see them in 3DSMax after import .obj or .objAO

BigReg/BigRegOne
When you double click on a mesh in the render window or select a mesh from the meshes list you are 'setting' the mesh as the active mesh. You cannot set the mesh if you have bones enabled. Go to the Bones tab and in the bones box unselect show Now you can view the texture coordinates for the mesh using the 1 and 2 buttons
TheDarkWraith is offline   Reply With Quote
Old 02-13-12, 04:55 PM   #569
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Ha ! It works i can export UVW (textures coordinates)
but i don,t know is that possible to add the UVW in the .obj
otherwise we can create new ones. But it must be able to import in the editor

UVW Edit (textures coordinates) in 3DSMAX



BigReg/BigRegOne



"You can never be beaten as well as by ourselves."

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


Default

This Room_QR1 perdea one is interesting...I'm trying to figure out how I export more texture coordinates than there are verticies
TheDarkWraith 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 12:31 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.