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

Jump to navigation Jump to search
Update scenery database links
mNo edit summary
(Update scenery database links)
Line 4: Line 4:


== Choosing your object ==
== Choosing your object ==
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.
The first thing you need is a 3D model to place in the scenery. The [[FlightGear Scenery Database]] ({{project infrastructure|scenery|text=scenery.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.
 


=== Consider the file sizes ===
=== Consider the file sizes ===
Line 53: Line 54:
: That means that it is no longer active. Activate it by placing one more model '''on''' the object you want to delete, press the backspace button. Result: The model you want to delete starts blinking, which tells you that it is active.
: That means that it is no longer active. Activate it by placing one more model '''on''' the object you want to delete, press the backspace button. Result: The model you want to delete starts blinking, which tells you that it is active.
You want to delete an object that is already saved in the corresponding .stg file and you don't know where it is:
You want to delete an object that is already saved in the corresponding .stg file and you don't know where it is:
: You don't know the filename: The model you want to delete is probably a shared model. You find it in the [http://scenemodels.flightgear.org/ scenery database]. Now you know the model's filename (e.g. [http://scenemodels.flightgear.org/modeledit.php?id=45 generic_skyscraper_01.ac] or [http://scenemodels.flightgear.org/modeledit.php?id=537 Office26x22.xml]).
: You don't know the filename: The model you want to delete is probably a shared model. You find it in the {{project infrastructure|scenery|text=scenery database}}. Now you know the model's filename (e.g. [http://scenemodels.flightgear.org/modeledit.php?id=45 generic_skyscraper_01.ac] or [http://scenemodels.flightgear.org/modeledit.php?id=537 Office26x22.xml]).
: You still need to know where you find it. Place any model on that building and press {{key press|D}} to know in which file you find it (see [[#Exporting the result|Exporting the result]] below). If there are several objects of that type and you want to delete only one of them, find the one closest to the coordinates of your model placed on top.
: You still need to know where you find it. Place any model on that building and press {{key press|D}} to know in which file you find it (see [[#Exporting the result|Exporting the result]] below). If there are several objects of that type and you want to delete only one of them, find the one closest to the coordinates of your model placed on top.
: Open the .stg file, delete the whole model entry (see [[#Exporting the result|Exporting the result]] below). Done.
: Open the .stg file, delete the whole model entry (see [[#Exporting the result|Exporting the result]] below). Done.
Line 66: Line 67:
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


The first line identifies the location of the scenery file for the object. The OBJECT_SHARED line indicates the object's name, longitude, latitude, altitude, and orientation. This can be read by FlightGear itself and can be [http://scenemodels.flightgear.org/contribute.php submitted] to the FlightGear Scenery Object Database.  
The first line identifies the location of the scenery file for the object. The OBJECT_SHARED line indicates the object's name, longitude, latitude, altitude, and orientation. This can be read by FlightGear itself and can be {{project infrastructure|scenery|urn=app.php?c=Plain&a=contribute|text=submitted}} to the FlightGear Scenery Object Database.  


You can also save these coordinates into your own scenery file so that your changes will not be lost the next time you start FlightGear.
You can also save these coordinates into your own scenery file so that your changes will not be lost the next time you start FlightGear.
Line 93: Line 94:


== Sharing your updates with everyone! ==
== Sharing your updates with everyone! ==
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 {{forum link|t=14671|text=the dedicated topic}} on the scenery forum.
Please, once you've improved the scenery around your place, consider sharing it with the community. This is done very easily using our {{project infrastructure|scenery|urn=app.php?c=Plain&a=contribute|text=scenery submission webforms}}. More information and help on {{forum link|t=14671|text=the dedicated topic}} on the scenery forum.


[[Category:Howto]]
[[Category:Howto]]

Navigation menu