|
AMFP Enhanced
C++ reference: the code this unofficial fork added
|
.FBX loading through ufbx, in place of the Autodesk FBX SDK loader the original exe used (MeshLoaderFBX.cpp, compiled out with HPL_NO_FBX). More...
#include "math/MathTypes.h"#include "resources/MeshLoader.h"Go to the source code of this file.
Classes | |
| class | hpl::cMeshLoaderUfbx |
Namespaces | |
| namespace | hpl |
.FBX loading through ufbx, in place of the Autodesk FBX SDK loader the original exe used (MeshLoaderFBX.cpp, compiled out with HPL_NO_FBX).
Same results as that loader: it uses the .anm / .msh cache next to the file when it is newer, otherwise reads the FBX, builds the skeleton from the skin clusters' bind pose and samples each bone at its key times (FbxAnimTimes.h). Unlike that loader it never writes a cache into the game folder.
Meshes are read from their .msh cache only for now (9 of the game's 10 FBX meshes ship one); animations are read from the FBX when no cache exists.
Definition in file MeshLoaderUfbx.h.