Obj import export problem

hi,

I’v been playing with obj import and export. From what I read from forum, some axis get changed after import.

What I know for now, after couple of experiments is, while importing obj file, the x component of vertices get opposite sign and the x component of normals of vertices get opposite sign as well.

Therefore the script EditorObjExporter.cs (wiki) has this conversion built in, and when you import and export back and forth, the info won’t get wrong.

FYI, as long as you working on one application other than unity, I think you’re fine. Until you switch back and forth between different modeling application or sometimes write your own exporter/importer, then this becomes a huge problem. I wish this can be added as an option in the future release.

thanks
Fang

Yeah… I thought I was the only one. I exported my terrain, brought it into max, optimized it, brought it back into Unity,. Had to rotate it 90 Degrees and move to match it up, then exported it back to max (just praying it would all match up so I could ‘set the scene’ in Max, and the obj export from Unity mirrored my terrain.
Completely unusable.
Was going to try to make sense of the script and edit it, but i’m no programmer.