sad Objects with texture

This topic has been viewed 9720 times and has 7 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
Gymnos
Posts: 1
Joined: Thu Feb 23, 2017 4:35 am
Country: Australia

Objects with texture

Post by Gymnos »

I have made some furniture in "Sketchup" and some people in "Makehuman"but when I try and import them they loose their texture.
I have tried various formats OBJ and DAE but the only difference is grey or clay colour. What have I done wrong.
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Objects with texture

Post by hansmex »

DAE and OBJ models come with a separate directory for the textures. If you move the model, you should move the directory as well so that the relative path stays the same.
If you don't do that, the model will be white.

H
Hans

new website - under constuction
hansdirkse.info
picmau
Posts: 6
Joined: Fri Mar 23, 2018 3:12 pm

Re: Objects with texture

Post by picmau »

@hansmex may you please help me explainig which are the step I have to do to "move the directory as well so that the relative path stays the same"?
Sorry but I am rally not expert [:(]
picmau
Posts: 6
Joined: Fri Mar 23, 2018 3:12 pm

Re: Objects with texture

Post by picmau »

Is there anyone can help me?
okh
Posts: 1545
Joined: Sun May 12, 2013 9:43 pm

Re: Objects with texture

Post by okh »

The easiest, I guess, is not to move anything before using Import Furniture in SH3D. That is, import them from where you originally saved the DAE or OBJ files...

If you need to move them,
OBJ requires:
xxx.obj (the .obj file itself)
xxx.mtl (specifies the materials used)
xyz.jpg / xzz.png (texture files referenced in the .mtl file)

DAE requires:
xxx.dae (the .dae file)
and usually a directory with the same name (xxx or whatever) with texture files (.jpg/.png/.gif)

So if you go to your export directory and select the above and move them together, it should work.

ok
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Objects with texture

Post by Puybaret »

And to complete okh good suggestion, once imported in Sweet Home 3D, you can then move or even delete the downloaded files.
Emmanuel Puybaret, Sweet Home 3D creator
bhoffman67
Posts: 3
Joined: Tue Oct 20, 2020 1:37 pm
Country: Costa Rica

Re: Objects with texture

Post by bhoffman67 »

ahhhh... xxx.MTL file <--- neato.

Is there a MTL file corresponding to the texture/material files available directly from SH3D?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Objects with texture

Post by Puybaret »

3D View > Export to OBJ format menu item creates an OBJ file from the current home + a MTL file + images for the textures it needs.
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest