- Jul 22, 2006
-
-
Shon Ferguson authored
-
Shon Ferguson authored
Added code to ensure that bones have their flag set properly, even if they are not so in the original NIF file.
-
- Jul 20, 2006
-
-
Shon Ferguson authored
-
- Jul 19, 2006
-
-
Shon Ferguson authored
NiTriStripsData::GetTriangles no longer returns triangles that have matching vertices and, thus, no surface area.
-
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
-
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.
-
- Jul 16, 2006
-
-
Shon Ferguson authored
-
Shon Ferguson authored
-
Shon Ferguson authored
Initialized TexCoord values to 0.0f. Added Visibility flag functions to NiAVObject.cpp Fixed NiTexturingProperty::SetTexture to set the internal hasXTexture variables correctly.
-
- Jul 08, 2006
-
-
Tazpn authored
-
Shon Ferguson authored
-
Shon Ferguson authored
Changed default for new controllers to 12; Active/Clamped. Should get cycle type from NiControllerSequence.
-
Tazpn authored
-
Tazpn authored
2. Change mergeniftrees to default phase to 0.0f instead of 1.0f as its a better default value.
-
- Jul 07, 2006
-
-
Shon Ferguson authored
Determined that there are references to NiBSplineData and NiBSplineBasisData in all NiBSplineInterpolator derived classes. Consolidated the various references from the derived classes to the NiBSplineInterpolator class in the XML and in Niflib.
-
- Jul 04, 2006
-
-
Shon Ferguson authored
-
Shon Ferguson authored
We can't have functions on compounds as all files for them are generated. Removed CalcNumTriangles so Niflib programs will link.
-
Shon Ferguson authored
Split some things that were previously part of NIF_IO.h into their own files to make SWIG wrapping work better.
-
- Jul 03, 2006
-
-
Shon Ferguson authored
Made the MergeNifTree function set the start time, stop time, and frequency of the controller it attaches an interpolator to. Made the MergeNifTree function create a controller of the right type and attach it to the specified node if one does not already exist.
-
- Jul 02, 2006
-
-
Shon Ferguson authored
-
- Jul 01, 2006
-
-
Tazpn authored
Add extra targets getter/setter for multitargeter controller. Probably need to fix GetRefs() at some point get return weak pointer references as well as strong ones.
-
- Jun 30, 2006
-
-
Tazpn authored
Fix Math so that it decomposes rotations back to stored rotation and not the inverse. Fix Scale so that it returns the correct value rather than x+y + (z/3). Add helper methods for useful flags for importing data in avobject and controller sequence.
-
- Jun 27, 2006
-
-
Shon Ferguson authored
-
Shon Ferguson authored
Tried to implement MergeNifTrees for KF files with a NiControllerSequence root. Untested.
-
- Jun 26, 2006
-
-
Shon Ferguson authored
-
Shon Ferguson authored
-
Shon Ferguson authored
-
Tazpn authored
-
- Jun 25, 2006
-
-
Tazpn authored
-
Shon Ferguson authored
Changed near and far to nearExtent and farExtent in LODRange to prevent conflicts with defines in Windows standard library.
-
Shon Ferguson authored
Removed code to re-position NiTriBasedGeom nodes as part of GoToSkeletonBindPosition since correct vertex positions can now be retrieved without doing this.
-
Shon Ferguson authored
Added ability to retrieve skin influenced vertex positions from NiTriBasedGeom.
-
Shon Ferguson authored
-
Shon Ferguson authored
-
- Jun 24, 2006
-
-
Shon Ferguson authored
-
Tazpn authored
-
Shon Ferguson authored
-
Shon Ferguson authored
-