Klvnk
@klvnk
New Member
Joined: Feb 14, 2024
Topics: 50 / Replies: 1212
Reply
RE: SetName (C++)

typedef std::basic_string<TCHAR, std::char_traits<TCHAR>, std::allocator<TCHAR>> tstr; tstr name = _T(“Bone”); TCHAR temp[21]; name…

7 years ago
Forum
Reply
RE: SetName (C++)

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…

7 years ago
Forum
Reply
RE: Problems reading normals from an edit mesh

the edit poly mod clears the specified normals i’m afraid from the sdk… void EditPolyData::Initialize (PolyObject *pObj, TimeValue t) { MNMesh &…

7 years ago
Forum
Reply
RE: Problems reading normals from an edit mesh

ignore me my mind is else where and I’m talking rubbish

7 years ago
Forum
Reply
RE: Problems reading normals from an edit mesh

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 …

7 years ago
Forum
Reply
RE: Problems reading normals from an edit mesh

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.

7 years ago
Forum
Reply
RE: Problems reading normals from an edit mesh

this is how I create them if they are not there… mesh->SpecifyNormals(); MeshNormalSpec* nspec = mesh->GetSpecifiedNormals(); // creates an “em…

7 years ago
Forum
Reply
RE: C++ – Returning Array of Nodes

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]->…

7 years ago
Forum
Reply
RE: Select Voxels by distance to segment

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…

7 years ago
Forum
Reply
RE: Select Voxels by distance to segment

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 …

7 years ago
Forum
Reply
RE: Select Voxels by distance to segment

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 …

7 years ago
Forum
Reply
RE: NEW LOOK of this site. Do you like it?

can you restrict search to a particular forum ? otherwise the site is next to useless

7 years ago
Forum
Reply
RE: Another favour and snippet to run

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 …

7 years ago
Forum
Reply
RE: Another favour and snippet to run

thanks for doing that I think we can safely assume it’s not fixed in 2016 & 17

7 years ago
Forum
Topic
Forum
Replies: 3
Views: 55
Page 28 / 85