8,564
edits
(Correctet video error) |
(Update, corrections, remove wrong/confusing isntructions) |
||
Line 1: | Line 1: | ||
The [[UFO from the 'White Project' of the UNESCO|UFO]] aircraft is a superb tool for placing a new (or old) 3D object at any arbitrary location in the scenery with just a few clicks of the mouse. | The [[UFO from the 'White Project' of the UNESCO|UFO]] aircraft is a superb tool for placing a new (or old) 3D object at any arbitrary location in the scenery with just a few clicks of the mouse. | ||
Placing objects in the scenery is a really easy way to contribute to the FlightGear project. It doesn't require any programming knowledge, and you can contribute something valuable in | Placing objects in the scenery is a really easy way to contribute to the [[FlightGear]] project. It doesn't require any programming knowledge, and you can contribute something valuable in just a few minutes. | ||
Below is an overview of placing, editing | Below is an overview of placing, editing and saving objects using the UFO. You can get a brief overview of the movement and editing commands by pressing ''?'' while flying the UFO. | ||
== Choosing your object == | == Choosing your object == | ||
The first thing you need is a | The first thing you need is a 3D model to place in the scenery. The [[FlightGear Scenery Database]] ([http://scenemodels.flightgear.org/ scenemodels.flightgear.org]) maintains a huge library of generic models, which will have been included in your FlightGear installation under the <tt>[[$FG_ROOT]]/Models/</tt> directory. You can skip to the next section when using a generic model. | ||
=== Creating your own models === | |||
Alternatively you can create your own models. You should save it in a subdirectory of your [[$FG_ROOT]] folder. Two options seem reasonable, although others are possible as well: | |||
* Shared model, not unique to a single objects (for example a wind turbine): save it in a subdirectory of <tt>[[$FG_ROOT]]/Models/</tt>. That is the standard directory where the UFO will go when you press the space bar. | |||
* Static model, unique object (like the Eiffel Tower): save it in the respective subdirectory of the Scenery folder, e.g. <tt>[[$FG_ROOT]]/Scenery/Objects/w130n30/w123n37</tt>. To browse objects anywhere on your computer, press ''l'' when using the UFO. | |||
When creating your own object, make sure it is the correct size. In [[Blender]], units are meters. Note that you should be careful about using Google Earth, due to restrictions in their license that might prevent submitting your work to the FlightGear database. See [http://flightgear.org/forums/viewtopic.php?f=5&t=3356 here] and [http://flightgear.org/forums/viewtopic.php?f=5&t=3415 here]. | |||
== Selecting the UFO == | |||
== Selecting the | |||
[[File:Placing_objects_with_UFO_html_m49fbed81.jpg|400px]] | [[File:Placing_objects_with_UFO_html_m49fbed81.jpg|400px]] | ||
Now start | Now start FlightGear with the UFO as your aircraft. | ||
== Placing objects == | == Placing objects == | ||
Once | Once FlightGear has been started, fly with the UFO to the place you want the model to be positioned. | ||
[[File:Placing_objects_with_UFO_html_5fa8d7b1.jpg|400px]] | [[File:Placing_objects_with_UFO_html_5fa8d7b1.jpg|400px]] | ||
Let's say we want to position the catii-iii.xml object at the end of a taxiway. We stop the UFO just above this intersection and press the space key | Let's say we want to position the catii-iii.xml object at the end of a taxiway. We stop the UFO just above this intersection and press the space key. A Select Model window will open up where the contents of the <tt>[[$FG_ROOT]]/Models/</tt> directory will be shown (or press "L" and you can go to any desired directory). Select your prefered model from this list, then close the window. The selected model path/name will be displayed in green text at the bottom left of the FlightGear screen. | ||
[[File:Placing_objects_with_UFO_html_m184fb381.jpg|400px]] | [[File:Placing_objects_with_UFO_html_m184fb381.jpg|400px]] | ||
To place the object, simply left-click on the position that you want to place it. By default it is placed completely horizontal and rotated to point | To place the object, simply left-click on the position that you want to place it. By default it is placed completely horizontal and rotated to point north. It will probably not have the correct orientation and it might be partly covered by the surrounding terrain, but we can adjust that. | ||
[[File:Placing_objects_with_UFO_html_12ee70a1.jpg|400px]] | [[File:Placing_objects_with_UFO_html_12ee70a1.jpg|400px]] | ||
== Rotating objects == | === Rotating objects === | ||
Fly closer to the ground with the UFO, so that you can see it better. | Fly closer to the ground with the UFO, so that you can see it better. | ||
Line 46: | Line 43: | ||
See the [[UFO from the 'White Project' of the UNESCO]] page for more information on the UFO command keys and exported file locations, or press ? while in FlightGear. | See the [[UFO from the 'White Project' of the UNESCO]] page for more information on the UFO command keys and exported file locations, or press ? while in FlightGear. | ||
== Deleting objects == | === Deleting objects === | ||
There are three different ways to three different situations in which which you want to delete an object: | There are three different ways to three different situations in which which you want to delete an object: | ||
Line 73: | Line 70: | ||
== Saving the changes to your scenery == | == Saving the changes to your scenery == | ||
In the terminal window, you get three sections printed out by the UFO with very detailed information about what's going on. We need the lines at the end. | In the terminal window, you get three sections printed out by the UFO with very detailed information about what's going on. We need the lines at the end. | ||
Line 80: | Line 76: | ||
e000n50/e008n50/3089154.stg | e000n50/e008n50/3089154.stg | ||
The default location for scenery | The default location for scenery objects is <tt>[[$FG_ROOT]]/Scenery/Objects/</tt>. Simply open the referenced .stg file, add the OBJECT_SHARED line to the bottom and save the file. Now you have your object's position saved, and it will appear inside the scenery every time you start FlightGear! | ||
In our example we would open | In our example we would open in <tt>[[$FG_ROOT]]/Scenery/Objects/e000n50/e008n50/3089154.stg</tt> and add the following line. | ||
OBJECT_SHARED Models/Tabu/catii-iii.xml 8.57928135 50.03667992 105.9972 111.1 | OBJECT_SHARED Models/Tabu/catii-iii.xml 8.57928135 50.03667992 105.9972 111.1 | ||
Line 94: | Line 90: | ||
== Saving to XML == | == Saving to XML == | ||
Alternatively, if you press the ''e'' key while developing scenery with | Alternatively, if you press the ''e'' key while developing scenery with UFO, fgfs will generate an xml file with the dump of your current work in a "ufo-model-export.xml" file. | ||
Under Unix, the file is saved to directory ''~/.fgfs'' | Under Unix, the file is saved to directory ''~/.fgfs'' | ||
Line 102: | Line 98: | ||
C:\Documents and Settings\{YOURUSERNAME}\Application Data\flightgear.org | C:\Documents and Settings\{YOURUSERNAME}\Application Data\flightgear.org | ||
=== Loading the XML file as part of FlightGear scenery === | |||
== Loading the XML file as part of FlightGear scenery == | |||
You can later reload this XML file with --config= command-line parameter: | You can later reload this XML file with --config= command-line parameter: | ||
Line 110: | Line 104: | ||
fgfs --config=$HOME/.fgfs/ufo-model-export.xml | fgfs --config=$HOME/.fgfs/ufo-model-export.xml | ||
In Windows, this is done using the Advanced dialog, found on the last panel of the | In Windows, this is done using the Advanced dialog, found on the last panel of the [[FGRun]] GUI. Click Advanced and, under General, click the double-dot button, browse to the ufo-model-export.xml file and click OK. | ||
== Sharing your updates with everyone! == | == Sharing your updates with everyone! == | ||
Please, once you've | Please, once you've improved the scenery around your place, consider sharing it with the community. This is done very easily using our [http://scenemodels.flightgear.org/submission scenery submission webforms]. More information and help on [http://www.flightgear.org/forums/viewtopic.php?f=5&t=14671 the dedicated topic] on the scenery forum. | ||
[[Category:Howto]] | |||
[[Category:Scenery enhancement]] | |||
[[ | [[es:Colocar objetos con el UFO]] | ||
[[fr:Placer des objets 3D avec UFO]] | [[fr:Placer des objets 3D avec UFO]] | ||