FORUMS: list search recent posts

problem importing obj file

COW Forums : Autodesk Maya

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Mike Hoffman
problem importing obj file
on Apr 24, 2010 at 7:52:54 am

I downloaded a 3d model from a website and it's an obj format. When I try to import it into Maya (version 7) nothing happens except for an error that reads "index out of range for face creation." I was able to open it in Photoshop CS4 but does anyone know how I can get it into Maya?


Return to posts index

Michiel Duvekot
Re: problem importing obj file
on Apr 24, 2010 at 3:08:01 pm

Where's the file? I've seen that error before and it's fairly easy to fix if you can read .objs. They're only text files after all.


Return to posts index

Mike Hoffman
Re: problem importing obj file
on Apr 24, 2010 at 7:25:42 pm

It came from turbosquid: http://www.turbosquid.com/3d-models/maya-van/426849

It's listed in the compatible with Maya category so I figured it would work.


Return to posts index


Mike Hoffman
Re: problem importing obj file
on Apr 24, 2010 at 11:48:33 pm

I found some help from this forum: http://forums.3dtotal.com/showthread.php?t=65930 where he says to add a "#" in front of the line that has the error on it in a text editor. But the file I have has errors on many lines. I finally got it to import but the model is such a mess it will take hours to fix. Is there a better way to go about doing this?


Return to posts index

Michiel Duvekot
Re: problem importing obj file
on Apr 26, 2010 at 1:12:25 am

the simple solution is to get in touch with turbosquid and let them fix it. They offer a quality guarantee

http://www.turbosquid.com/QualityGuarantee

If you want to know what's wrong with the model you can send it to me, michiel@thnkr.com (no, I'm not going to buy it, even if it's only a dollar).

The suggested fix to comment out lines with negative numbers is a bit strang, that means the faces won't be created. What you want to do is find the correct index.

for example:

you have a bunch of vertices defined as

v 1.000000 0.000000 0.000000
v 0.000000 1.000000 0.000000
v 0.000000 0.000000 1.000000

UVs are defined in a similar way, as are normals

faces are then made by giving the index (the relative line number from the first v, vt, vn)

That in this line,

f 1/1/1 2/2/2 3/3/3


the 1, 2 and 3 refer to

line 1, 2, and 3 starting at the first line with v

In your file, what's going wrong is that there is an f line somewhere with a number that refers to a v line that does not exist.

The .obj format doesn't like faces with more than 256 vertices, that's something to look out for.






Return to posts index

Elisabeth Spielbichler
Re: problem importing obj file
on Nov 8, 2010 at 3:59:29 pm

I downloaded this model from this site: http://www.3dmodelfree.com/models//26932-0.htm
I presume you can open it in Maya or 3DS Max. However when I extracted the downloaded file and tried to import the .obj file into Maya, I get an error message saying that the file doesn't exist.
However, I can open it in Photoshop CS4.
How can I import this in Maya 2011 or 2010?

Thank you.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]