Blender and BTG: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
m (Robot: Cosmetic changes)
Line 1: Line 1:
With the use of a special import&export script, '''[[BTG file format|BTG files]] can be opened in and exported from [[Blender]]'''. This makes it possible to edit [[FlightGear]]'s terrain and specifically [[airport]]s in a visual editor.
With the use of a special import&export script, '''[[BTG file format|BTG files]] can be opened in and exported from [[Blender]]'''. This makes it possible to edit [[FlightGear]]'s terrain and specifically [[airport]]s in a visual editor.


==User documentation==
== User documentation ==
===Installation===
=== Installation ===
Download the two scripts:
Download the two scripts:
* [http://users.tkk.fi/~lapelto2/fgfs/import_btg_v4.py Import script]
* [http://users.tkk.fi/~lapelto2/fgfs/import_btg_v4.py Import script]
Line 10: Line 10:
* Windows: <tt>C:/Program Files/Blender Foundation/Blender/.blender/scripts</tt>
* Windows: <tt>C:/Program Files/Blender Foundation/Blender/.blender/scripts</tt>


===Usage===
=== Usage ===
Import a .btg file ('''note:''' you'll have to unpack .btg.gz files first!) via <tt>File > Import > Simgear (.btg)</tt>.
Import a .btg file ('''note:''' you'll have to unpack .btg.gz files first!) via <tt>File > Import > Simgear (.btg)</tt>.


When exporting, via <tt>File > Export > Simgear (.btg)</tt>, make sure to enter the correct coordinates and radius, as displayed in the console and screen on import.
When exporting, via <tt>File > Export > Simgear (.btg)</tt>, make sure to enter the correct coordinates and radius, as displayed in the console and screen on import.


==Known issues==
== Known issues ==
* Textures are not applied automatically in Blender.
* Textures are not applied automatically in Blender.
* No textures at all on terrain import. Terrain is imported as one big mesh, despite various materials.
* No textures at all on terrain import. Terrain is imported as one big mesh, despite various materials.

Revision as of 20:56, 30 November 2010

With the use of a special import&export script, BTG files can be opened in and exported from Blender. This makes it possible to edit FlightGear's terrain and specifically airports in a visual editor.

User documentation

Installation

Download the two scripts:

Place both files in your Blender's .blender/scripts/ directory. Common locations are:

  • Windows: C:/Program Files/Blender Foundation/Blender/.blender/scripts

Usage

Import a .btg file (note: you'll have to unpack .btg.gz files first!) via File > Import > Simgear (.btg).

When exporting, via File > Export > Simgear (.btg), make sure to enter the correct coordinates and radius, as displayed in the console and screen on import.

Known issues

  • Textures are not applied automatically in Blender.
  • No textures at all on terrain import. Terrain is imported as one big mesh, despite various materials.
  • Terrain is not lined up with the axis, making it hard to edit correctly.
  • Airport lights are not imported.
  • Imported meshes are shrinked.