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-14-12, 05:57 PM   #616
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Hum ! and it does the same with Wings
and for

g Radar_subset0
usemtl various_metals_wood_04
s 1

no idea

But,I have see after make export/import the textures seem to not have the same coordinates as before
BIGREG is offline   Reply With Quote
Old 02-14-12, 06:01 PM   #617
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
Hum ! and it does the same with Wings
and for

g Radar_subset0
usemtl various_metals_wood_04
s 1

no idea

But,I have see after make export/import the textures seem to not have the same coordinates as before
Wings3D exports to OBJ just fine. Never had any problems with it. Maybe there are some settings you can change in 3DS Max?

You exported a mesh and then immediately reimported it and the texture coordinates were different? Which mesh?
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 06:06 PM   #618
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

the same mesh : Radar

I have just retry and have the same error

"You exported a mesh and then immediately reimported it and the texture coordinates were different? Which mesh? " Yes always radar
BIGREG is offline   Reply With Quote
Old 02-14-12, 06:21 PM   #619
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
the same mesh : Radar

I have just retry and have the same error

"You exported a mesh and then immediately reimported it and the texture coordinates were different? Which mesh? " Yes always radar
I just exported the Radar. Immediately re-imported it back in. Renamed the exported files. Then I exported it again. Used WinMerge to compare the files and they are identical

How are you doing it? I'd like to reproduce the problem you are having to figure out why.

Do what I just did and send the 2 sets of files to me so I can see what's happening.
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 06:29 PM   #620
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Editor:
-Load QR1_ROOM.GR2->Menu mesh -> select Radar(Mesh) ->export with AO and textures

3DSMax or Wings3D:

Import->export as obj without change or nothing

Editor->always the radar mesh highlited in blue (selected) ->import with or without AO -> error
BIGREG is offline   Reply With Quote
Old 02-14-12, 06:30 PM   #621
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
Editor:
-Load QR1_ROOM.GR2->Menu mesh -> select Radar(Mesh) ->export with AO and textures

3DSMax or Wings3D:

Import->export as obj without change or nothing

Editor->always the radar mesh highlited in blue (selected) ->import with or without AO -> error
let me try what you did. Give me a few...
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 06:39 PM   #622
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
Editor:
-Load QR1_ROOM.GR2->Menu mesh -> select Radar(Mesh) ->export with AO and textures

3DSMax or Wings3D:

Import->export as obj without change or nothing

Editor->always the radar mesh highlited in blue (selected) ->import with or without AO -> error
The Wings3D one is just using scientific notation for some of the values (E-xx)

I did get an error trying to import the Wings3D one though. It seems the number of textures coordinates it wrote doesn't match the original number...
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 06:49 PM   #623
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Anvart View Post
It's smooth group...
In 3ds Max, in Obj Exporter the option "to export smoothing groups" is enabled (checked)...
You must process this info too..??
Seems like I need to learn what smoothing groups are then

I think I see what Wings3D did. If you look at the faces lines you'll see it re-organized them. It appears Wings3D optimized the mesh on import and thus we are getting back different results. In this optimizing any duplicates were removed and thus is why the number of texture coordinates changed. This face line:

f 1/1973/1 3/2030/3 2/2031/2

says to use vertex 1 defined, texture coordinate 1973 defined, and vertex normal 1 defined.

So the number of texture coordinates and vertex normals does not have to equal the number of verticies. I'll have to adjust the app

Last edited by TheDarkWraith; 02-14-12 at 07:01 PM.
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 06:57 PM   #624
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Here

Just exported from the editor : http://dl.dropbox.com/u/8655607/exporteditor.zip

and just exported from 3dsmax : http://dl.dropbox.com/u/8655607/export3dsmax.zip
BIGREG is offline   Reply With Quote
Old 02-14-12, 07:16 PM   #625
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Anvart View Post
While do you have the same maps: map_Kd = map_Ka = map_Ks?
map_Kd = map_Ka may be, but map_Kd = map_Ks...
For one the GR2 file doesn't define a specular map like SH3 did so I set the specular as diffuse (as that's what we did in SH3 at times). If you have a better idea I'm open to it

Realize I'm interpreting something that we don't really know about. I'm learning as I go about the GR2 file.

The importer has been adjusted so that if the number of texture coordinates and/or the number of normals defined in the OBJ file do not match the number of verticies defined you don't get an error.

It also handles the 's x' entries so you don't get any errors.

I'll post a new test version here soon.

The minor annoyance in the bone editor page about the - or space has been taken care of also.
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 07:18 PM   #626
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

I have try with or without smoothing->make nothing

here the chaper for setting the import menu from 3dsmax :
http://dl.dropbox.com/u/8655607/reglageimport3dmax.xps

and here the whole chapter for the obj files : http://dl.dropbox.com/u/8655607/WavefrontOBJfiles.xps
BIGREG is offline   Reply With Quote
Old 02-14-12, 07:23 PM   #627
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

test version 1.1.50.0 available here: http://www.mediafire.com/?l1chqjah7djj34v

@BIGREG - your problems with importing/exporting Wings3D OBJ files should be cured with this. I have to think about the 3DS MAx files you gave me.

The problem with adding new bone to Waypoints_Room_QR2 still exists. I'm closer to a solution though. It's strange how I can add bones to 95% of the GR2 files except these few like Waypoints_Room_QR2

Last edited by TheDarkWraith; 02-14-12 at 07:50 PM.
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 07:35 PM   #628
Will-Rommel
Chief
 
Join Date: Jan 2008
Posts: 319
Downloads: 81
Uploads: 0
Default

Wow 3 pages in a single day. This thread is quite alive recently, thanks for the read TDW !

I'm quite happy to see Anvart still around and following the progress made here i must add. Only the Olympian is missing!
__________________
-Fighting is a lifestyle-
Will-Rommel is offline   Reply With Quote
Old 02-14-12, 07:48 PM   #629
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Will-Rommel View Post
Wow 3 pages in a single day. This thread is quite alive recently, thanks for the read TDW !

I'm quite happy to see Anvart still around and following the progress made here i must add. Only the Olympian is missing!
It's only alive because BIGREG is actually testing and providing great feedback I had no idea I had this many problems with the importer or the other problems that have surfaced
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 07:58 PM   #630
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

I have tested the new version

export/import and vice versa work great with Wings3D

with 3DSMax same name error ,but i have try to load the Wings export mesh and yet in 3Dsmax all textures and lights are applied ,i have try to export and always the name error

here a screen from 3dsmax :



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