Howto:Convert objects from X-Plane: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
m (a tutorial on how to convert Microsoft Flight Simulator scenery objects to Flightgear's .ac format.)
mNo edit summary
Line 3: Line 3:
We will use the fs2xplane package by Jonathan Harris to first convert the model from MSFS to X-Plane. Then, we import this X-Plane model in blender, using the XPlane2Blender import filter (also by Jonathan Harris), from which we export the model to FG's native AC3D format. Finally, we extract the lat/lon coordinates from an xml file, and place the object in FG.
We will use the fs2xplane package by Jonathan Harris to first convert the model from MSFS to X-Plane. Then, we import this X-Plane model in blender, using the XPlane2Blender import filter (also by Jonathan Harris), from which we export the model to FG's native AC3D format. Finally, we extract the lat/lon coordinates from an xml file, and place the object in FG.


This method has been tested OK on a couple of scenery objects made by [http://www.helles-flusi.de Hellfried Miersch] for MSFS 2004. I did not test it with models from other sources, yet.
This method has been tested OK on a couple of scenery objects made by [http://www.helles-flusi.de Hellfried Miersch] for MSFS 2004. I did not test it with models from other sources, yet.


I've written some bash scripts to ease the conversation a bit. They have been tested on Gentoo Linux. I have no idea about Windows or Mac scripting, however, the manual procedure of conversation should work on Windows, Mac and Linux.  
I've written some bash scripts to ease the conversation a bit. They have been tested on Gentoo Linux. I have no idea about Windows or Mac scripting, however, the manual procedure of conversation should work on Windows, Mac and Linux.  
Line 9: Line 9:
You will need the following tools:
You will need the following tools:


- an X-Plane installation (demo works for me)
* an X-Plane installation (demo works for me)
- blender (tested on ver. 2.48a-r3)
* [http://www.blender.org blender] (tested on ver. 2.48a-r3)
- XPlane2Blender (ver 3.09) and fs2xplane (ver 3.11) from [http://marginal.org.uk/x-planescenery/tools.html Jonathan Harris' page]
* XPlane2Blender (ver 3.09) and fs2xplane (ver 3.11) from [http://marginal.org.uk/x-planescenery/tools.html Jonathan Harris' page]
- FG source
* FG source
- and, of course, a MSFS scenery to convert. As an example, I will use a model of [http://en.wikipedia.org/wiki/Blue_Wonder "Das Blaue Wunder"] (The Blue Wonder), a historic bridge over the Elbe river in Dresden, Germany. It has been created by Hellfried Miersch, you may get it at
* and, of course, a MSFS scenery to convert. As an example, I will use a model of [http://en.wikipedia.org/wiki/Blue_Wonder "Das Blaue Wunder"] (The Blue Wonder), a historic bridge over the Elbe river in Dresden, Germany. It has been created by Hellfried Miersch, you may get it [http://www.helles-flusi.de/index.php/DD-Weitere_19.html here]. Scroll down to the bottom and download "Blaues Wunder Dresden" and "Blaues Wunder_mdl_xml".
http://www.helles-flusi.de/index.php/DD-Weitere_19.html  
Scroll down and click on "Blaues Wunder Dresden" and "Blaues Wunder_mdl_xml".
 
 


Plus, if you want to semi-automate things using my bash scripts, you will need
Plus, if you want to semi-automate things using my bash scripts, you will need
- xte from Steve Slaven's xautomation package.
- xte from Steve Slaven's xautomation package.


1. Semi-automatic conversation using msfs2ac.sh
== 1. Semi-automatic conversation using msfs2ac.sh ==


For the impatient, here's how you convert the model semi-automatically using my scripts. You will find the manual step-by-step tutorial below.
For the impatient, here's how you convert the model semi-automatically using my scripts. You will find the manual step-by-step tutorial below.
153

edits

Navigation menu