- Apr 06, 2007
-
-
Shon Ferguson authored
Laying the groundwork for Niflib to be able to work on systems with different endian types. All Read/Write functions now take NifInfo structures which are based by const reference. These are also passed into the NifStream functions so they will have access to the requested endian type of the NIF as well. Also added endian detection and swapping functions.
-
- Apr 02, 2007
-
-
Shon Ferguson authored
-
Shon Ferguson authored
-
Shon Ferguson authored
Changed NiNode AddChild function to keep NiTriBasedGeom-derived objects at the top of the list. Fixes issue with Oblivion flattened skin file hierarchies where the NiTriBasedGeom skin was appearing after the NiNode bones that it used in the child list of their mutual parent.
-
- Mar 31, 2007
-
-
Shon Ferguson authored
-
Shon Ferguson authored
Moved TypeConst function implementation out of header file. Hopefully should fix GCC visibility issue. Fixed GetIDString virtual function missmatch that was causing the name not to show up when the function was called from a NiObjectRef. Added Python-specific operator functions to Ref to prevent the wrapper from crashing on Null Refs.
-
- Mar 28, 2007
-
-
Shon Ferguson authored
Made Header and Footer functions NIFLIB_HIDDEN. Fixed comment on NIF version 3.1 A manual change by Amorilia to the generated Header.cpp and Footer.cpp files was overwritten. This needs to be fixed in the Python script.
-
Amorilia authored
* bug fix in Header block (array<3,LineString> crashes gcc when destructed)
-
Shon Ferguson authored
To allow for DLL mode, the IDENTITY constants in the Matrix classes were made private and are now accessible through the Identity() function of each matrix class. This may affect the 3ds Max plug-in as well.
-
- Mar 27, 2007
-
-
Shon Ferguson authored
Fixed Niflib DLL compile. All public functions should now be marked with either NIFLIB_API or NIFLIB_HIDDEN. May have missed a few here or there but they should be noticed eventually.
-
- Mar 21, 2007
-
-
Amorilia authored
number of objects are supported so far, to reduce the size of the wrapper. Details: * set property eolstyle:native on .cpp and .h files for better windows + linux support * added small cpp file for quick nif read and write test (for debug purposes) * fixed memory leak due to array of non-fixed sized objects: Header.copyright (caused segfaults under GCC) * disabled pragma warning on NvTriStripObjects.cpp * fixed undefined behaviour of map[...] = ... map.size() ... in niflib.cpp (caused segfaults under GCC) * cleaned up SConstruct file - if DEBUG is false, TUNE is assumed - added TEST option * workaround in pyniflib.h for ReadNifTree (need to find better solution!) * swig wrapper interface: NiNode, NiAVObject, and NiObjectNET are fully supported (nothing else, for now) * now using unittest for python test script(s)
-
- Jan 09, 2007
-
-
Shon Ferguson authored
-
- Jan 08, 2007
-
-
Shon Ferguson authored
Properly capitalized include file names in niflib.cpp.
-
Shon Ferguson authored
-
- Nov 19, 2006
-
-
Shon Ferguson authored
-
Shon Ferguson authored
-
Shon Ferguson authored
-
- Nov 01, 2006
-
-
Shon Ferguson authored
Changed some functions to use pointers instead of Ref templates. Updated to latest XML description.
-
- Oct 15, 2006
-
-
Tazpn authored
----- o Exporter - Add BSX flags for NIF exports when animation is involved for Oblivion. - Worked around what appears to be a bug in the Bezier Scale controller. - Change time intervals when exporting MW style animation. - Fixed bug with missing reference in Footer in MW exported .KF files. - Call routine to apply skin offsets to Skin data (required for MW?) o Importer - Invoke Max Script in Max 5 so that we can import Note Tracks
-
- Oct 05, 2006
-
-
Shon Ferguson authored
-
- Sep 30, 2006
-
-
Shon Ferguson authored
-
Tazpn authored
-
Tazpn authored
-
Shon Ferguson authored
NiNode::IsSplitMeshProxy now returns false if it is a skin influence. NiTriShapeData::GetTriangles now only returns valid triangles.
-
Shon Ferguson authored
Fixed a bug in ComplexShape::Merge that occurred when a shape had no UV set, but, for some reason, had a texture referencing UV set zero. Changed NiSkinData::NormalizeWeights to use doubles, trying to increase the accuracy.
-
- Sep 29, 2006
-
-
Shon Ferguson authored
ComplexShape::Split now cuts out weights below 0.1 and normalizes the result. Fixed a bug which could cause NiSkinInstance to try to call a function on a NiNode that was in the midst of destruction. Removed some cout statements.
-
Shon Ferguson authored
BindSkin no longer automatically clears transforms between the mesh and the root. Instead this can be done with the ApplySkinOffset function after all the shapes are in place.
-
Shon Ferguson authored
-
- Sep 28, 2006
-
-
Shon Ferguson authored
Fixed strange bug. All files now load again, and Niflib is now destroying objects properly and reporting the right number of Objects from NiObject::NumObjectsInMemory.
-
Shon Ferguson authored
-
Shon Ferguson authored
Generated array code now prints 20 items per 2D array in total when verbose is off. Fixed duplicated Read call. All FFvt3R demo files can now be read by Niflib.
-
- Sep 27, 2006
-
-
Shon Ferguson authored
Added NiGeometry::ApplyTransforms function to automatically zero out the transforms of a mesh and apply them to its vertices. Added NiGeometryData::Transform function to apply an arbitrary transform to all vertices and normals of a mesh (used by above). Added NiNode::PropagateTransform function to apply a NiNode's local transform to its children and then zero it out. Fixed NiTriShapeData to properly set numTriangles when SetTriangles is called. NiGeometry::BindSkin function now automatically propagates transforms of NiNodes between the root and the meshes and then applies those transforms to the vertices, making the NiSkinData overall transform unnecessary. Removed "set root to scene root" option as it is no longer necessary.
-
Shon Ferguson authored
Replaced GetSkinInfluencedVertices function with GetSkinDeformation function which takes in references to two vectors and fills them with the skin deformed vertices and normals Added constructor to Matrix44 to convert from Matrix33.
-
- Sep 26, 2006
-
-
Shon Ferguson authored
Updated from XML. Improves support for FFvt3R, but there are still problems that down show up in NifSkope.
-
- Sep 25, 2006
-
-
Shon Ferguson authored
Updated from XML, adding NiClodSkinInstance and fixing NiClodData. Niflib can now open all Freedom Force NIF files.
-
Shon Ferguson authored
Corrected Shape/particle hierarchy by adding NiGeometry and NiGeometryData. This is the correct hierarchy and having particles come back as derived from NiTriBasedGeomData was causing problems. Commented out printf commands in triangle stripper.
-
- Sep 23, 2006
-
-
Shon Ferguson authored
Fixed ComplexShape::Merge and ComplexShape::Split to properly take new uvSet member of TexDesc into account. Updated Niflib for Python readme to reflect the continuing "new_niflib" name. Reverted NiTriBasedGeom::GetSkinInfluencedVertices function to old functionality which works as long as the NIF is valid. Some valid NIF files were not loading with the new changes. Updated version in Doxyfile to 0.5.8
-
Shon Ferguson authored
Replaced _WRITE, _READ, _STRING, AND _FIXLINKS defines with the corresponding internal function call. Replaced STANDARD_INTERNAL_FUNCTIONS with the internal function signatures. Made my Doxygen config file use relative paths and added it to SVN so everyone can generate the same documentation for themselves. Removed includes WZ added to ComplexShape. These were not missing, they are up to the user to include if they wish.
-
- Sep 22, 2006
-
-
wz authored
-
Shon Ferguson authored
Several fixes to XML and Niflib to enable all my files from Freedom Force (except with NiClodData), Oblivion, CivIV, Morrowind, Zoo Tycoon 2, and DAoC to load in Niflib and NifSkope. Includes the two strange Oblivion files with version 3.3.0.13 and version 10.0.1.2.
-