sdk:aircraft:modelling
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sdk:aircraft:modelling [2017/01/30 12:31] – jh | sdk:aircraft:modelling [2020/05/10 21:20] (current) – [Supported Modelling tools] jh | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Modelling ====== | ====== Modelling ====== | ||
- | ===== 3D Model ===== | ||
- | |||
- | The 3D model is the visible aircraft that displayed on the screen. The 3D model on the computer is a bunch of numbers that define several hundred-thousand points and their connections. Three connected points make one triangle (a tiny bit of surface) and several triangles connected to each other can approximate any shape, e.g. the shape of a certain aircraft part. This collection of triangles is called a mesh and can be imagined as a dense net that spans over the entire surface. Onto the mesh an image (texture) is overlaid to define the coloring of the surface. | ||
- | All meshes of the individual parts make up the '3D model' of the aircraft. | ||
- | |||
- | Of course not each individual point (vertex) is placed by hand. There are software programs that let the user modify primitive geometry (cube, cylinder, sphere,...) into any shape desired. These modelling tools also do a great job of flattening/ | ||
- | |||
- | ===== Supported Modelling tools ===== | ||
- | |||
- | Currently (30th January 2017) the Aerofly FS 2 Software Development Kit ([[sdk: | ||
===== Robin DR-400 - Example Aircraft ===== | ===== Robin DR-400 - Example Aircraft ===== | ||
- | In the [[sdk: | + | In the [[sdk: |
> 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. | > 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. | ||
- | |||
- | ---- | ||
===== Preparing a Custom 3D-Model ===== | ===== Preparing a Custom 3D-Model ===== | ||
Line 25: | Line 13: | ||
To achieve an error free export some preparation is needed to be done first. For the DR400 example aircraft all these steps have already been completed so that this plane can be used as a reference. | To achieve an error free export some preparation is needed to be done first. For the DR400 example aircraft all these steps have already been completed so that this plane can be used as a reference. | ||
+ | |||
+ | ==== Overview ==== | ||
+ | |||
+ | This overview shows the necessary steps to get an aircraft model from a 3D design software like 3D Studio Max or Cinema4D into Aerofly FS 2. The steps are described in more detail later in this chapter. | ||
+ | |||
+ | Steps 1. to 6. have already been done for the example aircraft that comes with this SDK so that you can start with step 7. right away and use the example aircraft as a reference for your projects. | ||
+ | |||
+ | - Create a new folder using lowercase letters a-z, digits 0-9 and the underscore only (like c172, b747, f4u, …). This folder will be referred to as the intermediate folder. The name of this folder will be the internal name of the aircraft (the name displayed in the aircraft menu can be set later) and determines the names of several files. In the following, we will choose the name to be xxxx. | ||
+ | - Copy and/or export all necessary source texture and sound files to the intermediate folder. The files must be in a format supported by the Aircraft Converter (.bmp / .tif / .png / .wav). | ||
+ | - Prepare the 3D model as described below. | ||
+ | - Export the 3d model to the intermediate folder using the filename xxxx (this creates the ' | ||
+ | - Create the aircraft definition and configuration files. You can create these files from scratch using the section ' | ||
+ | - Add the ' | ||
+ | - Run the aircraft converter. Right click on the ' | ||
+ | - Your new aircraft is available in Aerofly FS 2 now. Test and refine the dynamics, graphics and sounds as desired. | ||
==== Single 3D Model ==== | ==== Single 3D Model ==== | ||
Line 100: | Line 103: | ||
* The material now has a ' | * The material now has a ' | ||
+ | |||
+ | ==== Propeller ==== | ||
+ | Aerofly FS 2 needs two models for the propeller. First is the static / solid model including the spinner / hub and the blades as separate objects. Second is the propeller disk, this is the blurred hull of the spinning propeller. The propeller disk needs to have a planar mapping from the front such that the disk fills the UV unit square. The corresponding texture is applied to the prop disk such that the bottom is at the center and the top is at the tips, left side is facing forward and right side is applied onto the back. Refer to the DR-400 example aircraft and the ' | ||
===== Exporting from 3D Studio Max ===== | ===== Exporting from 3D Studio Max ===== | ||
Line 213: | Line 219: | ||
*Use bump mapping (normal maps are supported, bump mapping is more flexible and better suited for future gimmicks). Object space normals are not supported. | *Use bump mapping (normal maps are supported, bump mapping is more flexible and better suited for future gimmicks). Object space normals are not supported. | ||
- | ==== Files ==== | + | ==== File Names ==== |
*File and folder names: allowed characters are lowercase letters a-z, digits 0-9 and underscore only. | *File and folder names: allowed characters are lowercase letters a-z, digits 0-9 and underscore only. | ||
*Never use capital letters, spaces and special characters in file names. | *Never use capital letters, spaces and special characters in file names. | ||
*Don't include the aircraft' | *Don't include the aircraft' | ||
*Current max file is named like ' | *Current max file is named like ' | ||
- |
sdk/aircraft/modelling.1485775900.txt.gz · Last modified: 2017/01/30 12:31 by jh