extrapolate render mesh

This commit is contained in:
Xuchen Han
2020-03-02 12:12:04 -08:00
parent 44ddb17c0c
commit dbf2050269
5 changed files with 109 additions and 11 deletions
@@ -8299,9 +8299,15 @@ bool PhysicsServerCommandProcessor::processLoadSoftBodyCommand(const struct Shar
psb->m_renderFaces.push_back(ff);
}
}
}
if (out_sim_type == UrdfGeometry::FILE_VTK)
{
btSoftBodyHelpers::interpolateBarycentricWeights(psb);
}
else if (out_sim_type == UrdfGeometry::FILE_OBJ)
{
btSoftBodyHelpers::extrapolateBarycentricWeights(psb);
}
}
else
{