- May 27, 2007
-
-
Shon Ferguson authored
-
Shon Ferguson authored
Finished new MatTexCollection helper class which makes it possible to manipulate material properties and texture objects with the same classes regardless of the intended NIF version. Realized that only read was implemented for files with version < 3.3.0.13, so implemented write for those old versions as well.
-
- 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
Moved Object Registration/Creation functionality into new ObjectRegistry class. Hopefully this fixes the issue with the object map not being initialized yet since it is a static member of the class and should theoretically be initialized before code in functions of that class can be executed. Seems to work for me, but I'll wait until Tazpn tests it to declare it fixed.
-
- May 24, 2007
-
-
Shon Ferguson authored
-
- May 20, 2007
-
-
Shon Ferguson authored
Disabled Whole Program Optimization in project settings. This makes a full recompile take longer, but makes compiling after small changes to a few files much much faster.
-
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.
-
- May 19, 2007
-
-
Shon Ferguson authored
Preparing for new Python generation method. Will break compilation for a while. obj_defines.h and obj_impl.cpp will no longer be necessary once this is complete.
-
- May 18, 2007
-
-
Shon Ferguson authored
Updated Niflib to the latest XML. This significantly improves the hierarchy and adds support for BSWindModifier.
-
- May 16, 2007
-
-
Shon Ferguson authored
Updated to the latest XML, which adds support for NiBinaryVoxelExtraData, NiBinaryVoxelData, NiPSysCollider, NiBone, NiPSysSphericalCollider, and NiTriShapeSkinController. Removed erroneous bhkMeshShape object. Added support in the version parsing functions for versions such as "3.03" which were being parsed as "3.3.0.0" before. These will now be parsed as "3.0.3.0." All Bridge Commander demo NIF files other than those that contain voxel 3D textures can now be read. All DAoC demo NIF files except those of version 2.3 and those that do not appear to store NIF data can now be read.
-
- May 07, 2007
-
-
Shon Ferguson authored
Fixed several bugs that were preventing support for old 3.1 and below files from working. Many of these can now be loaded. Added version 3.1 to list of "supported" versions.
-
- 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
Changed the default linkage to DLL. You now have to define NIFLIB_STATIC_LINK if you want to use static linking instead of having to define USE_NIFLIB_DLL if you want to use the DLL. Added a new Debug - DLL configuration. Static configurations now create either niflib_static.lib or niflib_static_debug.lib, while DLL configurations create niflib_dll.lib and niflib_dll_debug.lib along with niflib.dll and niflib_debug.dll.
-
- Apr 03, 2007
-
-
Shon Ferguson authored
-
Amorilia authored
* removed /FI"pch.h" option from niflib.vcproj
-
Shon Ferguson authored
Removing old Python-related files.
-
- Apr 01, 2007
-
-
Shon Ferguson authored
Project file now properly uses "Multithreaded DLL" runtime library for "Release - DLL" configuration.
-
- Mar 29, 2007
-
-
Shon Ferguson authored
-
- 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.
-
- Feb 03, 2007
-
-
Shon Ferguson authored
Added configurations for Maya 8.0 and 8.5 to Maya solution. May not work.
-
- Nov 19, 2006
-
-
Shon Ferguson authored
-
- Nov 01, 2006
-
-
Shon Ferguson authored
Changed some functions to use pointers instead of Ref templates. Updated to latest XML description.
-
- Sep 29, 2006
-
-
Shon Ferguson 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 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.
-
Shon Ferguson authored
Really put the skin calculations back the way they were this time. Helps, but the hands of better bodies meshes still end up in the wrong place. Added transform parameter to ComplexShape::Split because changing the transforms after the fact ruins the skin binds.
-
- Sep 15, 2006
-
-
wz authored
Added missing NvTriStripper files back into solution.
-
Shon Ferguson authored
Fixed the relative include paths and tried to update solution, but havn't got the precompiled header working right.
-
- Sep 13, 2006
-
-
Shon Ferguson authored
-
Shon Ferguson authored
-
- Sep 08, 2006
-
-
Shon Ferguson authored
-
Tazpn authored
-
- Aug 27, 2006
-
-
Tazpn authored
2. Add some extra helpers around sequence and animation.
-
- Aug 22, 2006
-
-
Tazpn authored
-
- 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.
-
- Jul 04, 2006
-
-
Shon Ferguson authored
Split some things that were previously part of NIF_IO.h into their own files to make SWIG wrapping work better.
-