- 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.
-
Tazpn authored
-
- 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
-
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
-
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.
-
Shon Ferguson authored
Fixed the array bug by reversing the template arguments and re-doing the declarations in the Python script.
-
- Sep 21, 2006
-
-
Shon Ferguson authored
-
Shon Ferguson authored
Added support for sub version 4 headers, object storage, and link method. Some objects like NiNodes already read correctly.
-
Shon Ferguson authored
CheckNifHeader -> GetNifVersion GetVersion -> ParseVersionString IsVersionSupported -> IsSupportedVersion Added new function, FormatVersionString, to format integer version numbers as a #.#.#.# string. GetNifVersion so it no longer returns VER_UNSUPPORTED. It now always returns the actual version value, if possible, which can be passed to IsSupportedVersion if desired. GetNifVersion now supports version numbers lower than 4. Added versions 4.0.0.0 and 10.1.0.106 to version constants and IsSupportedVersion function. Updated some documentation.
-
- Sep 20, 2006
-
-
Tazpn authored
-
Shon Ferguson authored
Changed WriteNifTree, and WriteFileGroup functions to take NifInfo structures instead of version and user_version arguments. Changed ReadNifList and ReadNifTree to optionally fill a passed in NifInfo structure with information from the header of the NIF file they read. Fixed some tabs that were done with spaces instead of actual tab characters. Updated from XML.
-
wz authored
Removed unused vars from UpdateTangentSpace().
-
Shon Ferguson authored
-
Shon Ferguson authored
-
Shon Ferguson authored
"Fixed" NiTriBasedGeom::GetSkinInfluencedVertices function so it fails to import meshes with bad overall offset transforms.
-
- Sep 18, 2006
-
-
Shon Ferguson authored
Added an exception and some extra checks to NiTriBasedGeomData::UpdateTangentSpace. Also made minor style changes. Fixed warning created by changing NiStencilProperty's enabled value to a byte.
-
wz authored
-
Tazpn authored
1. Update NiStencilProperty based on Shon's changes 2. Rewrote large chunks of WriteFileGroup related routines. 3. Added a WriteNifTree which allows for multiple roots (not exposed publically) 4. Added option to BindSkin to scene instead of skeleton root. 5. Fixed bug in RemoveController 6. Added helpers to NiControllerManager for sequence management 7. Propegated user_version in routines which take a version
-
Tazpn authored
1. Update NiStencilProperty based on Shon's changes 2. Rewrote large chunks of WriteFileGroup related routines. 3. Added a WriteNifTree which allows for multiple roots (not exposed publically) 4. Added option to BindSkin to scene instead of skeleton root. 5. Fixed bug in RemoveController 6. Added helpers to NiControllerManager for sequence management 7. Propegated user_version in routines which take a version
-
- Sep 17, 2006
-
-
Tazpn authored
-
- Sep 16, 2006
-
-
Tazpn authored
2. Fix PCH project settings. 3. Add NifSkope base partitioning algorithm 4. Add ability to use TriStripper instead of NvStripper for tristripdata 5. Sync with XML and equivalent changes.
-