- Feb 03, 2012
-
-
Alecu100 authored
started adding support for BSDismemberSkinInstance.h in the complex shape. so far nothing is functional but at first glance it seems pretty straightforward enough
-
- Sep 21, 2011
-
-
Amorilia authored
-
- Sep 20, 2011
-
-
Amorilia authored
-
- Jun 29, 2011
-
-
Amorilia authored
-
- Jan 05, 2009
-
-
Tazpn authored
-
- Jan 02, 2009
-
-
Tazpn authored
niflib: Update to latest xml. Add helper properties. Allow skinning routines to use BSDismemberSkinInstance instead of NiSkinInstance.
-
- Sep 24, 2007
-
-
Tazpn authored
Update UpdateTangentSpace to match nifskope and add my algorithm adapted from the Obsidian developers version.
-
- May 26, 2007
-
-
Shon Ferguson authored
-
- May 25, 2007
-
-
Shon Ferguson authored
Since there seemed to be no way to make pre-main initialization work for statically linking the library, I went back to using a CPP file that includes all the NiObject files and registers each one with the ObjectRegistry.
-
Shon Ferguson authored
-
- May 20, 2007
-
-
Shon Ferguson authored
- There are no longer any defines, things like inheritance class name, NIF attribute variables, and default constructor code are all visible without looking at another file. - All non-custom parts of the Object files are now totally identical and in the same order, so it will be easier to compare them. - NiObjects are now completely self-contained. To remove them from Niflib, you have only to exclude their CPP file from the build. To add new ones, you only have to include their new CPP file. - Making a change to a NiObject implementation file only causes that one file to be re-compiled, which is generally much quicker than before since the large obj_define and obj_impl files do not have to be parsed or compiled. - There are no longer any "Internal" versions of the Read, Write, asString, FixLinks, or GetRefs functions. Now there is just one function for each of these with pre and post custom code areas (except for GetRefs which I didn't think needed it.) - Updates to the hierarchy in the XML should now be almost completely automatic. All that should be necessary to make an update is to add any new NiObject CPP files to the build. - Changes to the generated parts of the NiObject files can now be made at any time, and immediately applied to all NiObjects without editing each existing one.
-
Shon Ferguson authored
-
- May 06, 2007
-
-
Shon Ferguson authored
Updated Niflib to the latest XML which adds support for bhkMeshShape, NiMultiTextureProperty, NiRawImageData, and NiSequence.
-
- May 05, 2007
-
-
Shon Ferguson authored
Objects now have a Create methods and register themselves in the global object map with pre-main initialization, making obj_factories.cpp obsolete.
-
Shon Ferguson authored
Re-exposed TYPE constants and marked them NIFLIB_API, making the TypeConst function obsolete. You now must use NiObject::TYPE instead of NiObject::TypeConst() again.
-
Shon Ferguson authored
Added ClearHardareSkinInfo function to NiTriBasedGeom so that SetSkinPartition functions could be made NIFLIB_HIDDEN.
-
- Apr 24, 2007
-
-
Shon Ferguson authored
-
- Apr 23, 2007
-
-
Shon Ferguson authored
More documentation improvements. Added documentation to NiDynamicEffect-derived objects, removed some obsolete examples, and replaced remaining references to "block" with "object" wherever possible.
-
- 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.
-
- Mar 31, 2007
-
-
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 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.
-
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.
-
- Jan 08, 2007
-
-
Shon Ferguson authored
-
- Nov 19, 2006
-
-
Shon Ferguson authored
-
Shon Ferguson authored
-
- Oct 05, 2006
-
-
Shon Ferguson authored
-
- Sep 25, 2006
-
-
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
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 21, 2006
-
-
Shon Ferguson authored
Added support for sub version 4 headers, object storage, and link method. Some objects like NiNodes already read correctly.
-
- Sep 18, 2006
-
-
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
-
- 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.
-
- Sep 15, 2006
-
-
Shon Ferguson authored
-
- Sep 09, 2006
-
-
Shon Ferguson authored
Added a max_bones_per_partition parameter to ComplexShape::Split and NiTriBasedGeom::GenHardwareSkinInfo in anticipation of Tazpn adding that capability.
-
- Aug 22, 2006
-
-
Tazpn authored
-
- Jul 22, 2006
-
-
Shon Ferguson authored
-
- Jul 19, 2006
-
-
Shon Ferguson authored
Added a SetBoneWeights function to NiTriBasedGeom which automatically calculates the correct bone center and radius. The NiSkinData::SetBoneWeights function now requires the radius and center as arguments.
-
- Jul 18, 2006
-
-
Shon Ferguson authored
The code I added to make NiTriBasedGeom select the correct skeleton root was wrong and has been re-written and tested. It now seems to select the same skeleton root as real NIF files. The NiTriBasedGeomData::SetUVSetCount function now sets the hasUVs bool value correctly. Fixed some skin related bugs in ComplexSh::Split.
-
- Jul 17, 2006
-
-
Shon Ferguson authored
Created a new ComplexShape class which can currently be used to automatically split the sort of complicated mesh that contains per-point-per-face attributes into NiTriShape classes. Should support skinning as well, but has not been tested. Added TexCoord == operator. Changed type of Triangle members to unsigned short. Color4 now defaults to all zeros. NiAVObject::AddProperty now takes a const argument. Fixed exception in NiTexturingProperty to throw a runtime_error instead of a string. NiTriBasedGeom::BindSkin should now automatically finds the skeleton root by itself. The skeleton_root argument has been removed.
-
- Jun 25, 2006
-
-
Shon Ferguson authored
Added ability to retrieve skin influenced vertex positions from NiTriBasedGeom.
-