Commit Graph

11 Commits (8f8fdedcde09552f79114357d78ed3bda2f2eba7)

Author SHA1 Message Date
scrawl 2b407a9995 Refactor NIF cache
- Remove broken cache locking mechanism

This was supposed to unload NIFFiles after a cell transition completes, but it was never working due to a mistake on the line if (--sLockLevel), should have been if (--sLockLevel == 0). Repairing this would increase load times (NIF files would have to be reloaded more frequently), so just removed it for now.

 - Decouple cache from NIFFile (now a new nifcache component)

 - Add API for future background loading

 - Provide a reliable way (SharedPtr) to hold on to loaded NIFFiles. This will be useful to avoid deep copies of keyframe and text key data, which is currently a performance bottleneck.
11 years ago
scrawl edb5a54092 Include some more required Ogre headers explicitely. 11 years ago
scrawl bbd15b185d Skip inactive controllers. Fixes those bloody bone boots again. 11 years ago
scrawl 6d47d710a0 Reimplement NiGeomMorpherController using Ogre's pose animation system 11 years ago
scrawl c5e543b91b Implement NiGeomMorpherController 11 years ago
Chris Robinson 26cc86ffdc Use the Nif node's transform for skinned fixups 12 years ago
Chris Robinson 020bc410bf Merge remote-tracking branch 'zini/master' into nifogre 12 years ago
scrawl 44ac0a7c18 Use one vertex buffer for all UV coordinates 12 years ago
Chris Robinson 59137d93c9 Partially handle NiGeomMorpherController
The morphs aren't actually applied yet, but the Ogre controller is set up so
all that has to be done is to implement the setValue method.
12 years ago
Chris Robinson d26ffe9de0 Move a method to the Node class 12 years ago
Chris Robinson 62e0abd945 Move the mesh loader to its own source file 12 years ago