67
edits
Paul Richter (talk | contribs) m (LMB? This is not Blender!) |
Paul Richter (talk | contribs) (trim) |
||
Line 1: | Line 1: | ||
'''Placing 3D objects inside Flightgear scenery using the UFO''' | '''Placing 3D objects inside Flightgear scenery using the UFO''' | ||
A very useful tool for placing objects within the scenery, created by Melchior Franz, is available with Flightgear 0.9.10 and later. It is an addon to the UFO aircraft which allows a user to place a new (or old) 3D object at any arbitrary location in the scenery with just a few clicks of the mouse. | A very useful tool for placing objects within the scenery, created by Melchior Franz, is available with Flightgear 0.9.10 and later. It is an addon to the UFO aircraft which allows a user to place a new (or old) 3D object at any arbitrary location in the scenery with just a few clicks of the mouse. | ||
Line 22: | Line 14: | ||
[[Image:Placing_objects_with_UFO_html_5fa8d7b1.jpg]] | [[Image:Placing_objects_with_UFO_html_5fa8d7b1.jpg]] | ||
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 M key, a Select Model window will open up where the contents of the Flightgear/data/Models/ directory will be shown. Select your model from this list, then close the window. The selected model path/name will be display in green text at the bottom left of the FlightGear screen. | |||
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 M key, a Select Model window will open up where the contents of the Flightgear/data/Models/ directory will be shown. | |||
[[Image:Placing_objects_with_UFO_html_m184fb381.jpg]] | [[Image:Placing_objects_with_UFO_html_m184fb381.jpg]] | ||
Now you may point the mouse on the scenery ground and left-click again, the CAT II/III ground marking model will be positioned there. Of course, it does not have the correct orientation and it's partly covered by the surrounding terrain, but we can adjust that. | Now you may point the mouse on the scenery ground and left-click again, the CAT II/III ground marking model will be positioned there. Of course, it does not have the correct orientation and it's partly covered by the surrounding terrain, but we can adjust that. | ||
Line 39: | Line 29: | ||
Now that the model is correctly positioned, press the | Now that the model is correctly positioned, press the D key to dump the model position data to the terminal. A few lines will be printed on the console, providing the necessary orientation data. You will save those coordinates into a scenery objects file in the next step. If you don't do that, next time you run Flightgear it will know nothing about the new object. | ||
[[Image:Placing_objects_with_UFO_html_m4cf0cbf7.jpg]] | [[Image:Placing_objects_with_UFO_html_m4cf0cbf7.jpg]] | ||
Line 45: | Line 35: | ||
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 line 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 line at the end. | ||
e000n50/e008n50/3089154.stg is the secenery object file where this object's coordinates have to be saved. The default place where to find e000n50 directory is inside Flightgear/data/Scenery/Objects/ | e000n50/e008n50/3089154.stg is the secenery object file where this object's coordinates have to be saved. The default place where to find e000n50 directory is inside Flightgear/data/Scenery/Objects/. You just open the 3089154.stg file with any text editor, add the following line and save it the file: | ||
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 | ||
Now you have your object's position saved, and it will appear inside the scenery every time you start Flightgear. | Now you have your object's position saved, and it will appear inside the scenery every time you start Flightgear. |
edits