typedef std::basic_string<TCHAR, std::char_traits<TCHAR>, std::allocator<TCHAR>> tstr; tstr name = _T(“Bone”); TCHAR temp[21]; name…
if you want to keep it all “max” Then something like TSTR name; name.printf(_T(“Bone%d%d”),i,j); node->SetName(name.data()); would be as good as…
the edit poly mod clears the specified normals i’m afraid from the sdk… void EditPolyData::Initialize (PolyObject *pObj, TimeValue t) { MNMesh &…
ignore me my mind is else where and I’m talking rubbish
this the one of the functions I use for my normal editing routines (there are others that work on selected faces etc) might shed some light on it for …
I did be looking at how you “read” and “write” them. looks like you “exploded” them ie 1 for every face corner and none shared.
this is how I create them if they are not there… mesh->SpecifyNormals(); MeshNormalSpec* nspec = mesh->GetSpecifiedNormals(); // creates an “em…
You’ve got it arse over tit … you have a modifier that implements the ISkin interface use that to access the bones. Modifier* mod = arg_list[0]->…
thinking about it, if you can, use the PolyObject as your pipe object for the modifier then use the MNMesh::PropegateComponentFlags to grow your “in…
I guess go with the voxel traversal to collect all the seg voxel intersections then iterate through those doing a spherical test from each one (there …
does a uniform grid help much here ? if the segment is fixed you can reduce it to 2 dot products max… something like (in mxs) fn Point2SegmentDistsq …
can you restrict search to a particular forum ? otherwise the site is next to useless
you can reproduce the bug in real time create a plane and convert to poly using the cut tool start on a vert half way up 1 over begin the cut on the …
thanks for doing that I think we can safely assume it’s not fixed in 2016 & 17