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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-12-23, 04:28 PM   #1
SwissSubCommander
Loader
 
Join Date: Jan 2016
Location: Roma, Italia
Posts: 82
Downloads: 330
Uploads: 2
Support Silent 3ditor error

Hi everyone
So I tried to edit the conning tower of an american sub, I exported via silent 3ditor and edited the obj. with blender.
I made sure to check the "triangulate mesh" option and followed all other advice given to this point. But when I try to import the edited obj. file I get an error saying "unexpected token encountered".
Any help?
__________________

"Da mesi e mesi non faccio che pensare ai miei marinai che sono onorevolmente in fondo al mare. Penso che il mio posto è con loro."
-Carlo Fecia di Cossato
SwissSubCommander is offline   Reply With Quote
Old 02-14-23, 02:07 PM   #2
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,911
Downloads: 444
Uploads: 2


Default

Check the export settings in your 3D software. Open another SH4 model, and export it. Open it in you 3D software, and note the orientation of the 3D artwork. In Blender export dialog under the Includes, you also need to click on the Material Groups. I do not know any other 3D software... in fact, I don't really know Blender, only what others have told me... lol - good luck!
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 02-14-23, 03:05 PM   #3
jimimadrid
Sonar Guy
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 381
Downloads: 114
Uploads: 19


Default

Quote:
Originally Posted by SwissSubCommander View Post
Hi everyone
So I tried to edit the conning tower of an american sub, I exported via silent 3ditor and edited the obj. with blender.
I made sure to check the "triangulate mesh" option and followed all other advice given to this point. But when I try to import the edited obj. file I get an error saying "unexpected token encountered".
Any help?



The best way will be to check manually if all mesh are triangles.
This is what i do changing the torpedos in blender.
jimimadrid is offline   Reply With Quote
Old 02-14-23, 03:59 PM   #4
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,635
Downloads: 297
Uploads: 0


Default

Did you make sure all the polygons have texture coordinates? In my experience if even one poly is untextured, Silent 3d Editor refuses to accept it. Even though a model may have originally been textured sometimes S3d "thinks" it is not totally textured if you make changes altering the poly count.

Also, did you make sure that the object is about 29,000 polys or less? When polys for a unit hull approach 30,000 for units, they often will crash Silent 3d editor. I get around this limitation by subdividing each of my ship models into several parts which are each about 29,000 polys. As long as each sub component (hull, conning tower, superstructure) is under 30,000 polygons the importer works fine.

Lastly, are you checking to see if your rendering program automatically adds faces to the object? This is a rare/annoying issue that sometimes crops up with Silent 3d editor and modeling programs; the only solution is to delete several adjacent polygons until the model is accepted.
iambecomelife is offline   Reply With Quote
Old 02-16-23, 05:41 AM   #5
SwissSubCommander
Loader
 
Join Date: Jan 2016
Location: Roma, Italia
Posts: 82
Downloads: 330
Uploads: 2
Default

Thanks everyone for the help, especially you iambecomelife.
I still have not figured out how to add newly created surfaces to the existing texture map of the model.
__________________

"Da mesi e mesi non faccio che pensare ai miei marinai che sono onorevolmente in fondo al mare. Penso che il mio posto è con loro."
-Carlo Fecia di Cossato
SwissSubCommander is offline   Reply With Quote
Old 02-17-23, 08:28 PM   #6
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,635
Downloads: 297
Uploads: 0


Default

Quote:
Originally Posted by SwissSubCommander View Post
Thanks everyone for the help, especially you iambecomelife.
I still have not figured out how to add newly created surfaces to the existing texture map of the model.
Would you mind sending the files to me? You have me curious. I think I can resolve it.

Also, have you ever tried using Wings3d for modeling? It's simple, free, and I have never had texture mapping problems with it (aside from when I make mistakes).
iambecomelife is offline   Reply With Quote
Old 02-18-23, 01:01 PM   #7
SwissSubCommander
Loader
 
Join Date: Jan 2016
Location: Roma, Italia
Posts: 82
Downloads: 330
Uploads: 2
Default

Quote:
Originally Posted by iambecomelife View Post
(aside from when I make mistakes).
Its all my mistakes
I am just learning how to do all of this
I will gladly send you the files, as soon as I finished it
__________________

"Da mesi e mesi non faccio che pensare ai miei marinai che sono onorevolmente in fondo al mare. Penso che il mio posto è con loro."
-Carlo Fecia di Cossato
SwissSubCommander 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 07:17 PM.


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.