mtl problem

This topic has been viewed 3268 times and has 2 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
Roberto_Taglioretti
Posts: 1
Joined: Thu Mar 05, 2009 10:09 pm

mtl problem

Post by Roberto_Taglioretti »

Hi,
when I try to import this simple file as furniture
http://www.proloco.net/pvertvetro.zip

the error message is:

Invalid format.....

The file is made with aoi ad esposted as obj with mtl.

Someone understand the problem ?




[Note: this thread was started on sourceforge.net forums]
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: mtl problem

Post by Puybaret »

It doesn't work because the material you created has no name. In the MTL file, a name is supposed to appear after the "newmtl" keyword, and in the OBJ file, that name is supposed to appear after the "usemtl" keyword.




Emmanuel Puybaret, Sweet Home 3D creator
User avatar
pencilart
Posts: 188
Joined: Tue Oct 02, 2007 4:37 pm

Re: mtl problem

Post by pencilart »

Yes, as Emmanuel said, name your texture/material from within AOI and then re-export it.

(Just in case you need this):
From the top menu bar, go to Scene > Textures and when the dialog box pops up, click on the texture you want to change and click Edit. Then you can name it.

When you re-export it, the name of the texture should now be there and the file should work.


Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests