Skip to content
Snippets Groups Projects
  1. Mar 27, 2007
    • Shon Ferguson's avatar
      Realized that Niflib was not compiling in DLL mode, so started working on... · 58116cd2
      Shon Ferguson authored
      Realized that Niflib was not compiling in DLL mode, so started working on fixing that.  All NiObject classes need to have NIFLIB_API and NIFLIB_HIDDEN put on each public function, rather than marking the whole class.  Still a lot left to change, but niflib.cpp and ComplexShape.cpp both compile without errors in DLL mode now.
      58116cd2
  2. 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
  3. Jan 08, 2007
  4. Nov 19, 2006
  5. Nov 01, 2006
  6. Oct 05, 2006
  7. Sep 29, 2006
  8. Sep 28, 2006
  9. 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
  10. Sep 26, 2006
  11. Sep 25, 2006
  12. Sep 23, 2006
    • 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
  13. Sep 22, 2006
  14. Sep 21, 2006
  15. Sep 18, 2006
    • wz's avatar
      Added UpdateTangentSpace() to NiTriBasedGeom class. · 0e56eccc
      wz authored
      0e56eccc
    • Tazpn's avatar
      Miscellaneous fixes: · ff0a0d05
      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
      ff0a0d05
  16. Sep 16, 2006
    • Tazpn's avatar
      1. Add NiClod and NiClodData. · 534752d7
      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.
      534752d7
    • wz's avatar
      Changed XML Name of NiLODNode's data ref. · 3b1bb08a
      wz authored
      Updated method names to use 'LOD'.
      Added documentation comments.
      3b1bb08a
  17. Sep 15, 2006
Loading