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: Fix for Mtl files on Obj export  (Read 9250 times)

headwax

  • Sr. Member
  • ****
  • Posts: 600
    • View Profile
    • Headwax's Website
Fix for Mtl files on Obj export
« on: June 29, 2009, 07:29:54 am »

Hello,

I wondered if anyone has found a fix for mtl files that point in the direction of anim8or meshes materials.

I'v been fiddling for half a day trying to get them to work.

Half the time I get a crash with .97d etc - sometimes if it doesn't crash, then I don't get an mtl file at all. If I use older versions  I've started getting mtl files with nothing in them..

????

I'm using Vista and Xp, running in xp mode as administrator in Vista.

One work around is to export in 3ds.

But that means separating the Objects into one mesh per object materail. As Objects end up being exported as one mesh instead of lots of seperate meshes....

Also it seems that the 3ds materail paths are local ie doesn't export the full paths. Any work arounds please ?  :)

I've played around with this

http://gmc.yoyogames.com/lofiversion/index.php/t333219.html

but it exports in a format I can't use.

Perhaps someone could write a plug in to export materials for obj with full file names?

:)

thanks again

headwax
« Last Edit: June 29, 2009, 07:32:13 am by headwax »
Logged

lynn22

  • Sr. Member
  • ****
  • Posts: 591
    • View Profile
    • 3D Animation
Re: Fix for Mtl files on Obj export
« Reply #1 on: June 29, 2009, 08:26:45 am »

I guess part of the problem may be created by the software you import your 3ds objects in.

I am working on a large project, modeling and texturing in Anim8or, exporting in 3ds and importing into Vue.

The textures I use in Anim8or are placed in a directory recognised by Vue so that vue finds them by default. For Anim8or it does not matter where they are located.

Some of my objects have numerous separate meshes which Vue imports as a group which can be Ungrouped to allow changes.

At first, I exported to obj+mtl which worked fine in 97c on XP pro, then I changed export to 3ds because the files are smaller but both exports imported fine into Vue.
Logged

headwax

  • Sr. Member
  • ****
  • Posts: 600
    • View Profile
    • Headwax's Website
Re: Fix for Mtl files on Obj export
« Reply #2 on: June 30, 2009, 12:45:11 am »

Thanks for the reply Lynn.

I'll check the import options on Carrara but she has a tendency to triangulate the meshes? Can't remmember :)

Maybe I can import 3ds into truspace then export them as obj file and get them into Carrara that way.... hmm

thanks again

cheers

Logged