1. I am trying to create a (EPM)Edit Poly Modifier in object. But I found that EPM cannot create in the same way as "extrude" modifier. There is an interface class called "EPolyMod" which corresponsing to EPM. In other modifier, I know I can create modifier by "CreateInstance" , then modify its ParamBlock, finally use "AddModifier" to put it over the object.
But how can i do it with EPolyMod?
2. When I look at the "3ds Max SDK Programmers Guide". It has two ways to call function through FPS.
EMFaceOps* efi = GetEMFaceOpsInterface(edmeshCD);
efi->Extrude(mesh, faces, 10.0);
FPParams p (3, TYPE_MESH, mesh,
FPInterface efi = edmeshCD->GetFPInterface("FaceOps");
efi->Invoke(em_extrude, result, &p);
x = result.i;
It said B is an indirect way to call the function. What is the difference between them? Which one should i use? And what is "edmeshCD"?
please help me