View Single Post
Old 01-02-12, 03:22 PM   #404
rocker_lx
Watch
 
Join Date: May 2005
Posts: 27
Downloads: 0
Uploads: 0
Default

Hmm, Voidworld manages to sometimes screw up UV space, when I export with wings3d to obj the texture of the deck of the V7c41 is visible but with voidworld the texture mapping is lost. Also with wings3d the scale of the mesh is not of the charts after loading in Lightwave.

Thanks for your offer but I don't think that a Lightwave exporter is needed, import into GR2 editor is the thing which is needed.

BTW 3dsMax also seems to have problems reading the file, it just shows a line although the number of reported polygons and vertexes seems to match. The Wings3d file here also imports nicely. (But again I don't know max enough for being sure)

I will investigate some more. I already heard on other modding forums that .obj can be a bitch sometimes. Objects exported from cryengine2 editor for example also caused a lot of problems for some tools, but can normaly be fixed with some notepadding.

I will compare GR2 editor obj files with wings files, perhaps I can even rename the UV map via notepad in the wings3d file.

Edit:
Ha......
found it.... it's a localisation problem I guess, I opened the .obj file in notepad++ and compared with the wings3d .obj file GR2 Editor saves the data with wrong punctuation, probably due to regional settings in windows.

GR2 Editor
Quote:
# Exported by GR2Editor/Viewer v1.0.495.0
# Exported from GR2 file C:\Ubisoft\Silent Hunter 5\data\Submarine\NSS_Uboat7c41\NSS_Uboat7C41.GR2
#
mtllib NSS_Uboat7c41_hull.mtl
o NSS_Uboat7c41_hull
# 2 subsets, 11533 vertices, 15572 faces
v 0,018258890 -0,422333400 -0,012335560
v 0,018258890 -0,443254500 -0,012335970
Wings3d:
Quote:
# Exported from Wings 3D 1.4.1
mtllib deck-wings.mtl
o NSS_Uboat7c41_deck
#750 vertices, 677 faces
v -4.4170910e-2 0.19822740 3.18659600
v -8.0950110e-2 0.17744700 2.52884100
v -5.0900000e-7 9.4104280e-2 -3.31079400
The same Problem also caused voidworld to lose the UV mapping and scale the mesh to mega size. I guess voidworld was only taking the value behind the "," which gave those huge numbers.

Edit2:.
Yep I can successfully import the object file in lightwave when I change my separator to "." in my regional settings, but this causes an other error when loading NSS_Uboat7C41.GR2. (see screenshot)

After I click "OK" the GR2 file loads after a few seconds.

Edit3:

After trying again the bounding box error did not reappear.

Last edited by rocker_lx; 01-02-12 at 04:13 PM.
rocker_lx is offline   Reply With Quote