View Single Post
Old 15th October 2007, 04:47 PM   #15
ggunners
Junior Member
Junior member
 
Join Date: Oct 2007
Location: Chantilly, VA
Posts: 7
Default Re: DirectX importer?

There is a python script for converting from mqo to ac 3D format on the rc-sim.de web site.

http://www.rc-sim.de/wbb2/thread.php?threadid=4707

The thread is in the German language but translates well enough with Google or Bablefish.

Here's the link to the download:
http://www.rc-sim.de/wbb2/attachment...chmentid=10285

You have to install Python on your computer to use the script and then run it from a command line window.

It works OK for now. You have to clean up your .mqo file. Some things that cause errors are faces without materials and material names with spaces in them.

It's best to clean up your file in Metasequoia before attempting a conversion. Select each object and then in the [Object] menu select each item in turn, [Align Faces], [Delete overlapped faces], [Unify Faces] and [attach current material to non-material faces]. Beware though, this could mess up your functioning 3D creation so if Meta reports any changes, make sure you want them or hit the undo [Ctrl-Z] key.

Now run mqo2ac.py at the command line prompt with "python mqo2ac.py" and answer the source .mqo and destination .ac prompts. If you have errors you'll see them in the window, if not you'll get a list of each object translated.

When you open the file in AC3D, first rotate the model 90 degrees around the Y axis and position the model's center of gravity where it belongs, usually on the motor thrust line and 30% back from the wing root.

If your model does not show the textures, select each object and load the texture for that object.

A couple of other items need tweaking too. Surfaces in Meta are smooth by default, in AC3D they are flat. So select the surfaces and make them smooth.

Also, the image maps in Meta are usually on a white background with some luminance. If you find your models are too dark in ClearView, you'll need to select the material in AC3D and lighten it up a bit.

This conversion is a bit teadious, but I've now done 4 models this way and it is repeatable and better than a standard DirectX import built into ClearView.

One other note, I found if you want to use the DirectX import, first assign a unique material to each object in Meta, then when you import the DirectX file, each object will be preserved. You'll then need to rename the objects and reapply the image maps.

-- ggunners
ggunners is offline   Reply With Quote