import obj with texture

This topic has been viewed 6073 times and has 3 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
mekkelek
Posts: 6
Joined: Thu Dec 23, 2010 11:05 am

import obj with texture

Post by mekkelek »

Hi

I downloaded some 3d object and changed the texture.
When I insert the object I lose the texture settings. Look at the picture.
http://img835.imageshack.us/img835/3816/texturebug.jpg
How I fix it?
Can I edit the texture setting - > mtl file?
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: import obj with texture

Post by hansmex »

Mekkelek,

When you transfer a model from one program to another program, some information may be lost. The problem lies in a different interpretation of the "language" used to describe the model. This happens especially when exchanging objects in the 3DS and/or OBJ format. You can try to use Blender as an intermediate program: import your model into Blender, correct textures if necessary, then export it again as 3DS or OBJ. Sometimes this may help, sometimes not.

Also, try to "play" with the export function. I'm not familiar with the Autodesk program, but I know that Blender has a lot of options when exporting a model. You have to find the right combination, or things don't work the way you want it.

Hans
Hans

new website - under constuction
hansdirkse.info
mekkelek
Posts: 6
Joined: Thu Dec 23, 2010 11:05 am

Re: import obj with texture

Post by mekkelek »

I "play" with blender. May be little bit better but not yet perfect.
Thanks for helping.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: import obj with texture

Post by Puybaret »

mekkelek,
You can edit the MTL file if you want to, but you should know that Sweet Home 3D doesn't support all the options available in the MTL format.
For example, map_Kd lines that specify information about texture, supports only a file name for the image of the texture and no scale or shift options.
If the exported MTL file shows such options, you should modify the UV coordinates of your model in Maya in such a way the texture image don't need any scale.
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest