Is a model of furniture supposed to be loadable from a zip file?

This topic has been viewed 3088 times and has 2 replies
Thread status: Active
Looking for a particular 3D model or texture? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
User avatar
selden
Posts: 18
Joined: Sun Sep 17, 2017 12:38 pm
Country: usa
Contact:

Is a model of furniture supposed to be loadable from a zip file?

Post by selden »

Is a model of furniture supposed to be loadable from a zip file?
(I haven't found any documentation about it. Did I overlook it?)

When I load a furniture model by specifying its obj file, it loads as expected, including all of the colors and surface textures specified in its .mtl file.

When I put the same obj, mtl and jpg files into a zip file and specify that zip as the furniture to load, no error message is generated, but the loaded furniture is black-and-white. All colors and surface textures are lost.

being able to load a piece of furniture from a zip file which contains its obj, mtl and jpg files would help a lot with a project that I'm working on.

Is there a way to attach a zip or image to a post? I don't see one. :(
Selden
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

Re: Is a model of furniture supposed to be loadable from a zip file?

Post by Keet »

It should work if the zip contains one of the importable formats. So your obj/mtl should work from a zip. What is probably wrong is that the importer can't find the texture files because either the names are wrong in the mtl file or the path to the files is wrong.

The best way is to have NO path. Zip the obj and mtl files and the texture files from the same directory.
Dodecagon.nl
1300+ 3D models, manuals, and projects
User avatar
selden
Posts: 18
Joined: Sun Sep 17, 2017 12:38 pm
Country: usa
Contact:

Re: Is a model of furniture supposed to be loadable from a zip file?

Post by selden »

Thanks! It seems to be working now.

I just now recreated the Zip, in what I thought was the same way I'd done initially, which I thought was the same way as you've described, but now it works correctly. I'm not at all sure what I messed up the first time.
Selden
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests