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

Reply
 
Thread Tools Display Modes
Old 11-26-09, 11:15 AM   #1
flakmonkey
Grey Wolf
 
Join Date: Jul 2006
Location: Staffordshire, Uk
Posts: 944
Downloads: 78
Uploads: 0


Default .obj and .mtl files and s3d.......

Ok im getting a headache now, im trying to add a new model into the subs interior, now i can set up the nodes etc all just fine right up to the point of importing the actual model, heres the problem,

s3d can only import .obj files so i export my model to an obj file but when i try to import it i get an error "this file contains no materials", well of course it doesnt, its an obj file!!!!

I know if i do it the other way round and export an existing model from sh3 via s3d, s3d will generate .mtl files to store the material data, sadly neither maya nor cinema4d can do this.

Any ideas, my brain is getting a little frazzled
__________________
flakmonkey is offline   Reply With Quote
Old 11-26-09, 11:21 AM   #2
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
Default

Moin FM,

don´t know MAYA. But there should be a dialogue box popping up on export. Search for a checkbox named 'create material library' and tick it. This will force your 3d programme to create *.mtl files.

Regards,
DD
DivingDuck is offline   Reply With Quote
Old 11-26-09, 12:00 PM   #3
Thunder
Electrician's Mate
 
Join Date: Nov 2007
Location: cape Town
Posts: 140
Downloads: 182
Uploads: 0
Default

DD's right, check these are ticked,then you should get a mtl file.

By thor7223 at 2009-11-26
Thunder is offline   Reply With Quote
Old 11-26-09, 12:34 PM   #4
flakmonkey
Grey Wolf
 
Join Date: Jul 2006
Location: Staffordshire, Uk
Posts: 944
Downloads: 78
Uploads: 0


Default

yep, got those ticked, still no mtl from maya though.
I went and downloaded blender since it will export objs with mtl. annoyingly s3d now gives me an invalid arguement error "value of 0 is not valid for SelectedIndex perameter????
__________________
flakmonkey is offline   Reply With Quote
Old 11-26-09, 01:22 PM   #5
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
Default

What does the *.mtl file look like?
DivingDuck is offline   Reply With Quote
Old 11-26-09, 03:44 PM   #6
Thunder
Electrician's Mate
 
Join Date: Nov 2007
Location: cape Town
Posts: 140
Downloads: 182
Uploads: 0
Default

Have you tried re-setting the export options? Also check the plug in manager, unload it, restart and reload it. Haven't had this prob before, but had other ones with plug ins acting odd.
AFAIK the mtl is just a link for the textures various parameters,not the texture. Has data for spec,diff,placement?
Thunder 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 01:03 AM.


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.