User Tools

Site Tools


sdk:aircraft:tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sdk:aircraft:tutorial [2017/02/06 12:38] – [Convert intermediate files to engine format] jhsdk:aircraft:tutorial [2020/05/10 21:23] (current) – [Installing the Aircraft-SDK] jh
Line 1: Line 1:
-====== Getting started tutorial ======+====== Aircraft Workshop ======
  
 On this page we will briefly guide you through the first steps in the aircraft development. We will download and install the Software Development Kit ([[sdk:intro|SDK]]) and demonstrate how to export and convert the example Robin DR-400 aircraft from the SDK. After completing the following steps you will have the Robin DR-400 installed as a reward so to say. On this page we will briefly guide you through the first steps in the aircraft development. We will download and install the Software Development Kit ([[sdk:intro|SDK]]) and demonstrate how to export and convert the example Robin DR-400 aircraft from the SDK. After completing the following steps you will have the Robin DR-400 installed as a reward so to say.
  
-===== Requirements =====+**This tutorial requires the Aerofly FS Aircraft Converter as well as the DR400 example aircraft** 
 +Please check out our [[sdk:intro|SDK introduction]] for more information. 
 +===== Exporting the DR-400 =====
  
-  * E-mail account for the SDK download +We will demonstrate the export process of the example aircraft in 3Ds Max but it should be similar with the other modeling toolsYou will need a modeling program to follow along but **you can skip this step** if you don't have it.If you haven't done this yetinstall the export plugin for your modeling program.
-  * Windows 7, 8 or 10 with 64 Bit +
-  * UNICODE capable text editor, e.g.:  +
-    [[https://www.editpadlite.com|EditPad Lite/Pro]],  +
-    [[https://www.ultraedit.com|UltraEdit]],  +
-    [[https://notepad-plus-plus.org/|Notepad++]] or +
-    * Windows Wordpad +
-  * If you want to create own 3D models: +
-    * 3D Studio Max 2010 or higher, +
-    * Maxon Cinema 4D Version 17, or +
-    * AutoCAD (AC3D) 3D Version 8+
  
-===== Installing the SDK =====+The export plugins of all the different modeling tools will create an intermediate ''.tgi'' file 3D model file that contains all the raw data of the vertices and mappings and is intended to be independent of the modeling tool used. Think of it as the raw-Aerofly 3D model format.
  
-Download the [[sdk:intro|SDK]] from the [[https://www.aerofly.com/aerofly_fs_2/sdk/|Aerofly FS 2 SDK website]]. The download is free, all we require is an email for registration so we can inform you, if a new version comes out that might be incompatible to previous versionsAfter the download has been completed, run the ''aerofly_fs_2_sdk_setup.exe'' installer and follow its stepsPlease note the installation path chosen here because all the SDK content will be extracted to this SDK-folder.+Copy the entire ''dr400'' folder from the ''aircraft_workshop'' folder in the SDK to some personal work directory where your useraccount has full access to. This will be your 'intermediate' folder where all the raw models for Aerofly aircraft can stay. From there open the dr400 [[sdk:aircraft:modelling|3D model]] in 3D Studio Max and select 'Export' -> 'Export' and select the your dr400 intermediate folderSelect ''IPACS TGI Exporter (*.TGI)'' and save to ''dr400.tgi''Select the output option 'Aircraft modelin the exporter menu and set the scale factor to ''100''Click on the 'Export' button to start the process.
  
-From that SDK folder go into the ''aerofly_fs_2_content_converter'' folder and execute the ''aerofly_fs_2_content_converter.exe''. This will install the Content Converter which we will need later.+> Please note that the 3D model of the Robin DR-400 provided is copyrighted and may not be used for any other purpose then demonstrating how to create aircraft for the Aerofly FS 2.
  
-The SDK also provides a lot of plugins for the [[sdk:aircraft:modelling#supported_modelling_tools|supported modelling programs]]. Those are included in the ''plugins'' folder in the SDK folder. Please pick the right one for your modeling program of your choice and install it in the usual way.+{{ :sdk:sdk_exporter_settings.png? |}}
  
-===== Exporting the DR-400 ===== 
  
-We will demonstrate the export process of the example aircraft in 3Ds Max but it should be similar with the other modeling tools. You will need a modeling program to follow this step but you can skip it if you don't have it.If you haven't done this yet, install the export plugin for your modeling program. 
- 
-The export plugins of all the different modeling tools will create an intermediate ''.tgi'' file 3D model file that contains all the raw data of the vertices and mappings and is intended to be independent of the modeling tool used. Think of it as the raw-Aerofly 3D model format. 
- 
-Copy the entire ''dr400'' folder from the ''aircraft_workshop'' folder in the SDK to some personal work directory where your useraccount has full access to. This will be your 'intermediate' folder where all the raw models for Aerofly aircraft can stay. From there open the dr400 [[sdk:aircraft:modelling|3D model]] in 3D Studio Max and select 'Export' -> 'Export' and select the your dr400 intermediate folder. Select ''IPACS TGI Exporter (*.TGI)'' and save to ''dr400.tgi''. Select the output option 'Aircraft model' in the exporter menu and set the scale factor to 
-  *10 if the one generic unit in 3D Studio Max corresponds to 1 mm    
-  *100 if the one generic unit in 3D Studio Max corresponds to 1 cm    
-  *10000 if the one generic unit in 3D Studio Max corresponds to 1 m 
- 
-{{ :sdk:sdk_exporter_settings.png?200 |}} 
- 
-Click on the 'Export' button to start the process. 
  
 ===== Convert intermediate files to engine format ===== ===== Convert intermediate files to engine format =====
  
-Now it is time to convert the intermediate 3D model (''dr400.tgi'') and textures into the currently used Aerofly FS 2 engine file formats. To run the content converter: right click on the intermediate folder (''dr400'' with the ''dr400.tgi'' inside) and choose Aerofly FS 2 Aircraft Converter from the context menu. This opens up the converter window and the aircraft's internal name ''dr400'' should be displayed. Start the conversion. If run for the first time, the converter will convert and compress all textures and render the preview images for the aircraft selection. This might take some time depending on your hardware. When the converter is finished the Robin DR-400 will be installed in the [[simulator:path#user_folder|user folder]] and ready to load in the Aerofly FS 2 Flight Simulator.+Now it is time to convert the intermediate 3D model (''dr400.tgi'') and textures into the currently used Aerofly FS 2 engine file formats. To run the content converter: right click on your intermediate folder (''dr400'' with the ''dr400.tgi'' inside) and choose the Aerofly FS 2 Aircraft Converter from the context menu. This opens up the converter window and the aircraft's internal name ''dr400'' should be displayed. Start the conversion. If run for the first time, the converter will convert and compress all textures and render the preview images for the aircraft selection. This might take some time depending on your hardware. When the converter is finished the Robin DR-400 will be installed in the [[simulator:path#user_folder|user folder]] and ready to load in the Aerofly FS 2 Flight Simulator.
  
 The next time you convert the aircraft, the converter will only process the textures that have been changed. You can always force the conversion of a texture or preview by deleting the generated file. The next time you convert the aircraft, the converter will only process the textures that have been changed. You can always force the conversion of a texture or preview by deleting the generated file.
Line 50: Line 29:
 The same folder contains the converter's log file 'tm_aircraft_converter.log', which sometimes is helpful for troubleshooting, as well as the 'report.txt' in the aircraft's intermediate folder. The same folder contains the converter's log file 'tm_aircraft_converter.log', which sometimes is helpful for troubleshooting, as well as the 'report.txt' in the aircraft's intermediate folder.
  
 +
 +===== What's Next ? =====
 +
 +When you successfully installed the SDK and have the DR400 in your Aerofly FS 2, why not check out how you could create your own aircraft and read more about  [[sdk:aircraft:introduction|aircraft development]] for Aerofly FS 2.
  
  
sdk/aircraft/tutorial.1486381133.txt.gz · Last modified: 2017/02/06 12:38 by jh