We’d like to use Aspose to import a 3d model with bones and bone weights, preferably from FBX files. To test this we have a model in Blender with the appropriate armature, etc. and export it to FBX, then in code open the model and parse through it. Our expectation is that we’ll find a deformer on the Mesh node, which should then have the bones and bone weights. However, no deformer is found.
Example Code:
foreach (var entity in node.Entities)
{
switch (entity)
{
case Mesh mesh:
var prop = mesh.Properties;
// deformers is always empty?
var deformers = mesh.Deformers;
foreach (var deformer in deformers)
{
switch (deformer)
{
case MorphTargetDeformer morphTarget:
break;
case SkinDeformer skin:
break;
default:
break;
}
}
meshes.Add((mesh, material));
break;
default:
break;
}
}
Here’s the example FBX (archived in a zip):
testMakeHuman.zip (1.2 MB)
Are there examples of how deformers and bones/bone weights are obtained through Aspose.3D?