Oh, so you literally want to be able to keyframe individual vertices? Can’t help you there… Otherwise it seems like a typical geometry modifier is wh…
It’s impossible to answer such a broad question. Are you wanting to animate the verts of an existing object? Import a cache of animated verts? Affect …
Your function doesn’t make much sense to me. Firstly, you’re getting a copy of your new TriObject’s mesh (which is likely null…although maybe the …
Woops, forgot that we want a copy of the mesh Thanks Denis. Also didn’t realize that ConvertToType doesn’t do redundant conversions…good to know for…
Malkalypse: …requires the source node to be TriObject-collapsible Just remember that ‘CanConvertToType(triObjectClassID)’ doesn’t necessarily mea…
((TriObject*)node->EvalWorldState(t).obj)->GetMesh(); …is how you get the mesh of a node at a certain time. Note: this doesn’t do …
which is acting very weird because the local position gets set to 0 each time the spinner increments. This makes sense because an object’s position …
You could use something like dotPeek to check your DLLs and see if they contain the classes in question. That’s how I originally found them.
Are you including “Autodesk.Max.Wrappers.DLL” in your project? It’s in [maxroot]/bin/assemblies. Definitions for ‘__Global’ and ‘__GlobalBMM_Color_fl…
Thanks for that, I’ve edited the code above with the change. 4k image in 0.25 seconds now. Approx 180x faster than maxscript alternative…not bad
Alright Pete, good news! I got the C# GetPixels function working on full scanlines now, so the image can be processed completely in C# and it will ret…
lo: but ideally you’d create an array the size of a row and pass a pointer to that. Any idea how to do that? I’m not super familiar with pointers…
Good idea, I’ve managed to pass a bitmaptexture to .net and extract the bitmap from it…the only issue is that dotnet’s GetPixels function crashes max …
Even C# could do the trick if you’re ok with the color values of your bitmap being rounded to integers and clamped between 0-255. This runs in 0.7 se…
Hmm, I’m unable to replicate your <=1024px pre-declare performance. The pre-declare function is pretty consistently about 1.5-2x slower than the ot…