Howto:Place 3D objects with the UFO: Difference between revisions

Jump to navigation Jump to search
(Some restructuring prior to inclusion in the FG newsletter.)
Line 6: Line 6:
The first thing you need is a 3d model to place in the scenery. The FlightGear Scenery Database ([http://scenemodels.flightgear.org/ http://scenemodels.flightgear.org/]) maintains a huge library of generic models, which will have been included in your FlightGear installation.
The first thing you need is a 3d model to place in the scenery. The FlightGear Scenery Database ([http://scenemodels.flightgear.org/ http://scenemodels.flightgear.org/]) maintains a huge library of generic models, which will have been included in your FlightGear installation.


If you have created your own model you need to save it to somewhere the UFO can find it. The UFO searches for objects under the Flightgear/data/Models/ directory. Let's say you have created a CAT III marker, called catii-iii.xml. In this example, we create a subdirectory called Tabu and save our catii-iii.xml there.
If you have created your own model you should save it in a subdirectory of your FG root folder. Two options seem reasonable, although others are possible as well:
 
a) Save it in the directory Flightgear/data/Models/. That is the standard directory where the UFO will go when you press the Space bar. Let's say you have created a CAT III marker, called catii-iii.xml. In this example, we create a subdirectory Flightgear/data/Models/Tabu/ and save our catii-iii.xml there. The downpoint: The directory Flightgear/data/Models/ is the place where all shared models from the FG Scenery Database are saved and as your universe of own models grows, you might confuse both.
 
b) You can also save your own models in an other subdirectory like Flightgear/data/mymodels (or any other name). Or if they are shared models which have only one fixed position, like the KSFO terminal, you can save them in the respective subdirectory of the Scenery folder, e.g. Flightgear/data/Scenery/Objects/w130n30/w123n37/mymodels (or directly in w123n37). To browse objects anywhere on your computer, press "L" when using the UFO.


If creating your own object, make sure it is the correct size! In Blender, units are meters and the Caliper script may help. Note that you should not use Google Earth to determine the correct size. See [http://flightgear.org/forums/viewtopic.php?f=5&t=3356 here] and [http://flightgear.org/forums/viewtopic.php?f=5&t=3415 here].
If creating your own object, make sure it is the correct size! In Blender, units are meters and the Caliper script may help. Note that you should not use Google Earth to determine the correct size. See [http://flightgear.org/forums/viewtopic.php?f=5&t=3356 here] and [http://flightgear.org/forums/viewtopic.php?f=5&t=3415 here].
248

edits

Navigation menu