These scripts aren't official yet and not even in Blender's cvs. But they
should be ready for use, and are definitely ready for testing. Please report
problems to me.

  http://members.aon.at/mfranz/ac.zip  (11 kB)

m.

PS: and don't miss my Blender tutorial  :-)
    http://members.aon.at/mfranz/flightgear/blender-textured-lights.html




Notes from the author, Willian P. GERMANO, taken from the script headers:


Exporter: newacexport.py
========================

Supported:
  UV-textured meshes with hierarchy (grouping) information.


Missing:
  The 'url' tag, specific to AC3D.  It is easy to add by hand to the exported
  file, if needed, naturally.


Known issues:
  Crease angle in Blender is limited to [1, 80] and there are other more
  powerful ways to control surface smoothing.  In AC3D 4.0 crease's range is
  [0.0, 180.0];

  The ambient color we can retrieve from Blender is a single value, that
  this script copies to R, G, B, giving a shade of gray.


Notes:
  This version is considerably faster than previous ones for large meshes;
  Multiple textures per mesh are supported (mesh gets split);

  Parenting with meshes or empties as parents is converted to AC3D group
  information.


There are a few options you can configure:
  - AC3D 3.X mode: set it if your loader doesn't support the 'crease' tag
    that was introduced with AC3D 4.0;

  - skip data: set it if you don't want mesh names (ME:, not OB: field)
    to be exported as strings for AC's "data" tags (19 chars max);

  - rgb mirror color can be exported as ambient and/or emissive if needed,
    since Blender handles these differently;

  - default mat: a default (white) material is added if some mesh was
    left without mats -- it's better to always add your own materials.




Importer: newacimport.py
========================

Supported:
  UV-textured meshes with hierarchy (grouping) information.


Missing:
  The url tag is irrelevant in Blender and probably most apps importing .ac 
models.


Known issues:
  None.


Notes:
  Check script's source code for options that can be tweaked (using Blender
  empties to emulate AC3D's grouping info and setting a default folder for
  textures, for the case of wrong paths in the .ac file(s).


m.

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to