在aiMesh中有一个字段mMethod
struct aiMesh {
/*...*/
/**
* Method of morphing when anim-meshes are specified.
*/
unsigned int mMethod;
/*...*/
};有多少种不同的变形方法,对应的整数值是多少?
发布于 2022-01-04 08:38:30
从挖掘Collada的源代码来看,这是aiMorphingMethod
/** @brief Enumerates the methods of mesh morphing supported by Assimp.
*/
enum aiMorphingMethod {
/** Interpolation between morph targets */
aiMorphingMethod_VERTEX_BLEND = 0x1,
/** Normalized morphing between morph targets */
aiMorphingMethod_MORPH_NORMALIZED = 0x2,
/** Relative morphing between morph targets */
aiMorphingMethod_MORPH_RELATIVE = 0x3,
}; //! enum aiMorphingMethod应该更新mMethod上的代码注释,以提及aiMorphingMethod。
https://stackoverflow.com/questions/70575859
复制相似问题