MZ1
@mz1
New Member
Joined: Feb 14, 2024
Topics: 169 / Replies: 649
Reply
RE: C++ ReplaceVertexWeight

Do I need to update something after object creation?

6 years ago
Forum
Reply
RE: C++ ReplaceVertexWeight

I just realized that the problem is not from the skin data, When I apply the function to the existing modifier in the scene, its work: #include <…

6 years ago
Forum
Reply
RE: C++ ReplaceVertexWeight

I’m just trying to do it with ISkin: #include <BonesDef.h> #include <modstack.h> #include <maxscript/macros/define_instantiation_funct…

6 years ago
Forum
Reply
RE: C++ ReplaceVertexWeight

So it seems ISkin is better, but as I said how we can implement functions like removebone with ISkin? Any library or sample in SDK?

6 years ago
Forum
Reply
RE: C++ ReplaceVertexWeight

Well, which one you prefer? I saw skinops used BonesDef, But about ISkin, I’m not sure it has all functions. for example removebone. Actually I’m loo…

6 years ago
Forum
Topic
Forum
Replies: 17
Views: 107
Reply
RE: SetName (C++)

Thank You!, but I think your first method is simpler.

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

Actually I was looking and prefer CPP method…

6 years ago
Forum
Topic
6 years ago
Forum
Replies: 5
Views: 40
Reply
RE: C++ – Returning Array of Nodes

Klvnk: for(int i = 0; i < skin->GetNumBones(); ++i) { INode* node = skin->GetBone(i); Thank You! So the complete code would be: #includ…

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

Thank You! But now I got another error: — Known system exception — ######################################################################## — Addr…

6 years ago
Forum
Topic
Forum
Replies: 6
Views: 45
Reply
RE: Skin Weight code optimization

It seems it takes more memory: for BoneId = 1 to BoneArray.count do ( BonePos = BonePoses[BoneId] if BonePos.x >= Val[1] and BonePos.x < …

6 years ago
Forum
Reply
RE: Skin Weight code optimization

I just updated my code with your suggestion: ( delete objects — clearlistener() gc() Time_Start = timestamp() Memory_Start = heapfree /* Fun…

6 years ago
Forum
Reply
RE: Skin Weight code optimization

“(k/BoneArray.count)” this is trick to update only last one? Nice!

6 years ago
Forum
Page 24 / 55