Commit Graph

24 Commits

Author SHA1 Message Date
Geoffrey Bantle
7b069b9b60 -> FLT import: Zero area N-gon bug fix
FLT importer would throw errors when importing ngons with
zero area. These faces are now ignored
2008-05-24 18:43:02 +00:00
Geoffrey Bantle
ad397fa16b -> FLT import bug (loose vertices)
New faceweld code broke the import of meshes with loose
vertices. Also added exception handling to the importer
and exporter so that UI doesnt quite when errors are encountered.
Instead traceback is printed to stderr and control returns to
the script UI
2008-05-15 19:35:17 +00:00
Campbell Barton
4f49a3b906 added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
Geoffrey Bantle
0010f33bdb -> FLT I/O: UI now undo safe
Both the FLT importer and exporter now store and retrieve
their settings from the blender python registry making
them safe for use with global undo.
2008-03-28 23:06:00 +00:00
Geoffrey Bantle
5fa49b5947 -> FLT I/O: LOD hiding on import
LODS were not getting hidden correctly on import.
Fixed now.
2008-03-28 21:04:27 +00:00
Geoffrey Bantle
d32ec4297d -> Double Sided Faces fix for FLT import
Faces marked as double sided in FLT file were
not getting the proper face flags on import to blender.
Fixed.
2008-03-28 00:30:46 +00:00
Geoffrey Bantle
812af46d41 -> Double Sided Faces fix for FLT import
Faces marked as double sided in FLT file were
not getting the proper face flags on import to blender.
Fixed.
2008-03-28 00:26:48 +00:00
Geoffrey Bantle
3b36c10702 -> Extension Node attribute support for FLT I/O
Extension node attributes are now read and stored as ID
props for the following Node types:

-Object Nodes
-Group Nodes
-LOD Nodes
-DOF Nodes
-Inline Light Point Nodes


The extension data is written back out on export.

Note that this commit only adds support for attribute extensions.
Completely new node types via the extension record are still
unsupported.
2008-03-28 00:08:41 +00:00
Geoffrey Bantle
d94038342c -> Slight fix for Face Weld code in FLT importer
Slight fix for welding of faces that only share one vertex
2008-03-26 16:45:18 +00:00
Geoffrey Bantle
b46bad83bf -> New face weld code for FLT importer
Replaced the use of remove doubles with some new custom 'face welding'
code that wil clean up meshes on import.This will not remove any faces
or do any edge collapse and so is a more suitable method of cleaning
up imported meshes. This same code could potentially be of use when
importing other formats as well (such as DXF...)
2008-03-26 15:59:56 +00:00
Geoffrey Bantle
0899bccef5 -> Path handling fix for External references in FLT import
FLT importer had problems with external references that used
relative paths. Fixed.
2008-03-19 19:23:42 +00:00
Geoffrey Bantle
7015700e99 -> FLT importer hierarchy transform bugs
Several transform bugs in the flt importer have been fixed. This included
parent/child relationships and matrices not importing correctly along with
some problems with the import scale option.
2008-03-18 23:16:47 +00:00
Geoffrey Bantle
a7184e9afd -> Fix for billboard faces
Faces with billboard render (axis with alpha) were not being preserved on import/export. Fixed
2008-01-09 19:51:22 +00:00
Geoffrey Bantle
78ea4f3564 -> Updated FLT scripts
Blender FLT I/O scripts have been updated to have more features.In addition
several utility scripts/applets have been added to aid in working with FLT 
databases within Blender.

Documentation can be found here:

http://wiki.blender.org/index.php/Scripts/Manual/Import/openflight_flt
http://wiki.blender.org/index.php/Scripts/Manual/Export/openflight_flt
http://wiki.blender.org/index.php/Scripts/Manual/FLTools
2007-11-22 01:43:24 +00:00
Kent Mein
4e2143f639 This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone.
Patch provied by gsrb3d

bug tracker #7061

Kent
2007-08-28 10:07:08 +00:00
Campbell Barton
c7a8f6cd9d Added GPL Headers to some of my scipts that were missing it. also changed the header of a few others.
Only code change is cookie cut from View now only uses 3d curves to cut.
2007-02-14 01:03:32 +00:00
Campbell Barton
ab06e52343 Mech cleanup use new edge_keys
continual script stuff, minor stuff..

fix for bad return in group.
Added back group.objects.append/remove but print deprectaed warning. also some epydoc changes.
2006-12-28 05:00:35 +00:00
Campbell Barton
859b7f207e modified scripts from using older/depricated Python API commands, deprecated scn.getChildren() in the docs. 2006-12-25 09:17:23 +00:00
Campbell Barton
9054a81eb2 Big speedup, 2-3x, from better mesh importing. 2006-07-28 19:09:09 +00:00
Campbell Barton
92e9a88996 fixed stupid error in flt_import (only allowed 15 materials, not 16)
added an option to Bake From UV's - Selected Faces Only
2006-07-28 09:27:11 +00:00
Campbell Barton
093bc78783 fixed flt_import problem adding materials to the mesh, made untextured faces not go pink.
removed mesh_bbrush, Not worth maintaining anymore with recent developments.
2006-07-28 08:59:44 +00:00
Campbell Barton
a7a3285235 Much needed update to flt_import.py
* NMesh to Mesh
* Optimized vertex importing
* Import NGons properly and make them blender FGons
* lots of other small updates

image_bake_from_uvs - ignore meshes without faceUV's
2006-07-28 08:17:04 +00:00
Stephen Swaney
76ba34768e bugfix: Object.Get() throws ValueError rather than AttributeError. 2006-02-01 15:21:05 +00:00
Campbell Barton
41a06c1ab5 Added openflight import/export- Blight v1.2 2006-01-10 13:42:20 +00:00