Hi,
I tried to implement this type but struggle a bit to understand the different types. Below my piece of code that doesn't even compile. Would you have any hint/correct for me ?
Thanks for your hints !
I tried to implement this type but struggle a bit to understand the different types. Below my piece of code that doesn't even compile. Would you have any hint/correct for me ?
Code:
DefMapChannelsParam param_uvs("map_channels",1); MapChannel oneMapChannel=param_uvs.getMapChannels(); VectorRefList VL; IntList IL; IL.setCount(nbFaces); VL.setCount(nbFaces); for (int i=0;i<nbFaces;i++) { VL[i]=Vector(myU[i],0.0f, myV[i]); IL[i]=i; } oneMapChannel.setVerts(VL); oneMapChannel.setFaces(IL); baseGeomPlugin->setParameter(param_vs);
Comment