Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: .Obj failing to import  (Read 9628 times)

Jaw Jaw

  • Newbie
  • *
  • Posts: 13
    • View Profile
.Obj failing to import
« on: January 10, 2013, 12:27:20 am »

I am trying to import an .obj into anim8tor, this object is a grass mesh made up of many flat, unconnected, triangular shapes.  This object has 151540 polygons. When I try to import this I get an error message saying "Error reading file." When I reduce the polygon count of the same object to 4820 it imports successfully. I am assuming this is because anim8or has a limitation to how complex a mesh it can import at one time and I was wondering if someone can confirm this.
Logged

lppena

  • Sr. Member
  • ****
  • Posts: 299
  • Anim8or, does a body good.
    • View Profile
    • Truespace Anim8or Casual Modeling Forum.
Re: .Obj failing to import
« Reply #1 on: January 10, 2013, 02:18:47 am »

Thanks for posting this. I agree. Anim8or like all software has limits.
Logged

CrashDrive

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Re: .Obj failing to import
« Reply #2 on: January 10, 2013, 02:26:17 am »

'Jaw Jaw'  I never really ran into importing problems before, that I can think of.
Just did a test importing and exporting an .obj file with 191,448 polys with no problem.
I know .3ds has a definite limit, but I never use it anyway.
Hope somebody can help you out.
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1482
    • View Profile
Re: .Obj failing to import
« Reply #3 on: January 10, 2013, 02:54:20 am »

Jaw Jaw, I think Anim8or is a little more picky about the .obj format for import than other programs. It's possible that some of the original data is corrupted in the original .obj file or it's just structured somewhere contrary to how Anim8or likes it (I've noticed this happens a lot when the object is composed of separate meshes). Try using the Autodesk FBX Converter or Meshlab to convert the obj to another format like fbx and then back again to .obj, and import it again.  Personally I've found Autodesk's converter to be able to fix whatever Anim8or's not liking, whenever I come across bad .obj files.

You could also use another editor to "merge" all the shapes into a single mesh shape, and try exporting that to .obj for Anim8or to look at.
Logged

Jaw Jaw

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: .Obj failing to import
« Reply #4 on: January 10, 2013, 11:59:07 pm »

After converting the object into an .fbx, then reverting it back to an .obj, Anim8or was able to import it successfully.
As Raxx proposed, this could suggest that the object contained additional information, or was structured in a way that Anim8or was unable to understand.
Though I currently do not have the time to confirm with absolute certainty that this theory is accurate, the conversion process has appeared to fix my problem completely.
Thank you all for your input and effort.
Logged

cooldude234

  • Sr. Member
  • ****
  • Posts: 902
  • You know what I realized, I dont have an avatar :\
    • View Profile
Re: .Obj failing to import
« Reply #5 on: January 12, 2013, 05:02:13 pm »

Yea I had an .obj format that had around a billion polygons in it, it took 30 minutes to load in anim8or but it still loaded (even though it froze my whole computer that time frame :P and anim8or could barley run).

I too think its because of the structure or extra data in the file. Typically two slashes // mean a comment on a file, anim8or uses this as well. But I did come across a program once that used .obj and didn't read out comments, so every time // would appear it would have an error XD
Logged
¼