Zh/Howto:Creating 3D instruments: Difference between revisions

no edit summary
(Created page with "This tutorial describes the basic process of '''creating''' a 3D '''instrument''' for use in FlightGear. For now, we're assuming that you have created the actual 3d model...")
 
No edit summary
 
Line 1: Line 1:
This tutorial describes the basic process of '''creating''' a 3D '''instrument''' for use in [[FlightGear]]. For now, we're assuming that you have created the actual 3d model to use and wish to include it in a cockpit and animate it. As an example, we will be animating the ITT gauge for the [[Fokker 50]].
本教程描述了制作在FlightGear中使用的3D仪器的基本过程。现在,我们假设你已经完成了仪器的3D模型。我们将会用FITK 50的ITT测量仪作为例子来教会你如何添加3D仪器模型进入驾驶舱。
 
=== What you need ===
You will need:
* a text editor (even notepad will do, but one that does syntax highlighting might help you spot typos more easily; if you're on Windows, [http://notepad-plus.sourceforge.net/uk/site.htm Notepad++] looks suitable.)
* your 3d modelling package
* and of course a copy of FlightGear


=== 你需要什么 ===
* 一个文本编辑器 (即使是记事本也可以,但是语法高亮可以帮助你找出错误。如果你在Windows上[http://notepad-plus.sourceforge.net/uk/site.htm Notepad++],看起来很合适。)
* 你的3D模型
* Flightgear
=== Creating the XML file ===
=== Creating the XML file ===
The first step is to create an XML file which will load the 3D model and animate it. There are no hard and fast rules about where these files should live or what they must be called, but we'll follow the fairly standard procedure of calling it itt.xml and placing it in the Models directory.
The first step is to create an XML file which will load the 3D model and animate it. There are no hard and fast rules about where these files should live or what they must be called, but we'll follow the fairly standard procedure of calling it itt.xml and placing it in the Models directory.
33

edits