Skip to content
Snippets Groups Projects
  1. Mar 23, 2007
    • Amorilia's avatar
      * modularized swig interface to reduce wrapper size (only main niflib · 8eef368d
      Amorilia authored
        header and NiNode for now)
      
      * created a common swig interface "common.i" to be used by all modules
      
      * smart pointers now use the __call__() method, again this reduces the
        wrapper size
      
      * removed __str__() from the niflib API as it does not belong there,
        instead renamed asString() to __str__() in the common.i interface
      
      * version constants now also belong to the Niflib namespace
      
      * SWIGFLAGS are now defined through scons environment, so we only need
        to set them once
      
      * extra settings "-fcompact" and "-fvirtual" to SWIGFLAGS to reduce
        wrapper size
      
      * enabled niflib as a shared library under non-win32 platforms
        (still need to find a solution for win32) under scons
      
      * removed "pyniflib.h" and instead added CreateNiNode wrapper to ninode.i
      
      * renamed "pyniflib.i" to "pyniflib.i_old" in case I forgot to port
        something to the new modularized system; to be removed in future
      8eef368d
  2. Mar 21, 2007
    • Amorilia's avatar
      The SWIG wrapper is now functional again, although only a very limited · 8cfbc343
      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)
      8cfbc343
  3. Mar 20, 2007
    • Amorilia's avatar
      * Fixes for windows build under SCons. · b2c70a66
      Amorilia authored
      * Renamed python.h to pyniflib.h to avoid confusion with the python.h file from python installation.
      * Updated python test script.
      * Enabled many things again in the swig wrapper interface, to ease debugging.
      * Added "using namespace std;" in Ref.h (as in the rest of the library)
      b2c70a66
  4. Mar 16, 2007
  5. Mar 15, 2007
  6. Jan 13, 2007
  7. Jan 08, 2007
  8. Nov 19, 2006
  9. Nov 01, 2006
  10. Oct 12, 2006
    • Tazpn's avatar
      MaxPlugins 0.2.8 · 0a2e2210
      Tazpn authored
        -----   
      o Exporter
        - Fix Collapse Transforms on dialog so that it actually triggers collapse
        - Change defaults for textures so Morrowind does not crash in CS
        - Fix export of animation for Morrowind
        - Introduce mechanism in Collapse Transforms so that poorly scaled models export better
      
      o Importer
        - Fix import of animation for Morrowind
      0a2e2210
  11. Oct 05, 2006
  12. Sep 30, 2006
  13. Sep 29, 2006
  14. Sep 28, 2006
  15. Sep 27, 2006
    • Shon Ferguson's avatar
      Added NiGeometry::ApplyTransforms function to automatically zero out the... · 2a5ab374
      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.
      2a5ab374
    • Shon Ferguson's avatar
      Replaced GetSkinInfluencedVertices function with GetSkinDeformation function... · 9447d624
      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.
      9447d624
  16. Sep 26, 2006
  17. Sep 25, 2006
  18. Sep 23, 2006
    • Shon Ferguson's avatar
      Fixed ComplexShape::Merge and ComplexShape::Split to properly take new uvSet... · 88ecf945
      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's avatar
      Cleared up all Doxygen and SWIG warnings. · 32a273f6
      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.
      32a273f6
  19. Sep 22, 2006
  20. Sep 21, 2006
    • Shon Ferguson's avatar
      Updated to latest XML. · 78867004
      Shon Ferguson authored
      78867004
    • Shon Ferguson's avatar
      Added support for sub version 4 headers, object storage, and link method. ... · c0236f86
      Shon Ferguson authored
      Added support for sub version 4 headers, object storage, and link method.  Some objects like NiNodes already read correctly.
      c0236f86
    • Shon Ferguson's avatar
      Renamed the following functions: · 94ad93ed
      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.
      94ad93ed
  21. Sep 20, 2006
Loading