Ormu wrote: Ormu wrote:
I also made a working SKLT editor which I will post here later...
I have created a plugin for Blender that allows importing and exporting SKLT files. Now you can finally create new wireframes with a real 3D model editor.
Textures aren't supported yet but research goes on...
http://metropolisdawn.com/files/persona ... 9.2013.zip
Blender (v. 2.5 or newer)
After installing Blender, locate the addons directory:
http://wiki.blender.org/index.php/Doc:2 ... on/Add-Ons
Unpack the plugin and copy the folder ("io_mesh_sklt") into the addons directory.
Start Blender, go to File -> User preferences -> Addons -> Import-export -> enable SKLT plugin.
Now there should be entry for Skeleton(.sklt) in File -> Import/Export menus.
Filename filter: Choose which files (by extension) to show.
Import SEN2: Whether to process SEN2 section data when importing (see notes).
File extension: Which extension to use for the new file. .sklt = most models inside BAS files, .skl = HUD models (\data\wireless\).
Filename filter: Same as above
Primitive mode: How to process 3D primitives
>>Polygon mode: Save polygons as polygons. This is recommended for most models.
>>Edge mode: Save edges (lines from vertex to another). Use this only when there are lines that do not belong to any polygon (mostly HUD models) as polygon mode ignores them. Polygons that consist of separate edges can't (probably?) be textured!
SEN2 mode: How to save SEN2 data (see notes).
>>Ignore: Do not save anything.
>>Save: Save existing SEN2 data if it exists.
>>Auto-generate: Automatically generate the "SEN2 box" around the model and save it.
-Y and Z coordinates are flipped in UA, i.e. Y is negative above ground and Z is negative from north to south.
-Switch from edit mode to object mode before exporting to make sure that all chages are applied to the objects.
-Only mesh objects are supported at the moment.
-You may want to delete the cube which is created by default when Blender starts.
-Duplicate vertices and invalid primitives ("0" and "1-gons") are ignored when importing.
-The function of SEN2 section is currently unknown. It might be related to model scaling, or it might not have any function.
-The SEN2 data is imported as a separate object named "SEN2_BOX". The name is hard-coded so do not change it (see below).
-You can import multiple files but
new SEN2 objects will be renamed if they are imported. The export plugin will export them as ordinary meshes (see above) so they should be deleted.
-SEN2 section should have 8 vertices if it exists. Otherwise glitches may occur.
-This is highly experimental! Backup your works and report all problems!
I have very little experience on 3D modeling or Blender itself so feel free to request for any feature that should be added.