Hi,
I have a geomStaticMesh plugin that I would like to smooth.
Seemingly the GeomStaticSmoothedMesh need to be used, However I can't find any example on how to link the mesh parameter of GeomStaticSmoothedMesh to my geomStaticMesh plugin.
This doesn't even compile.
Any suggestion on what to correct in the code to smooth my mesh ?
Thanks.
I have a geomStaticMesh plugin that I would like to smooth.
Seemingly the GeomStaticSmoothedMesh need to be used, However I can't find any example on how to link the mesh parameter of GeomStaticSmoothedMesh to my geomStaticMesh plugin.
Code:
smoothGeomPlugin=newPlugin("GeomStaticSmoothedMesh"); DefPluginListParam *meshParam=new DefPluginListParam("mesh"); meshParam->setPlugin(0,baseGeomPlugin); // baseGeomPlugin is my GeomStaticMesh plugin smoothGeomPlugin->setParameter(&meshParam);
Any suggestion on what to correct in the code to smooth my mesh ?
Thanks.
Comment