Notifications
Clear all

[Closed] [SDK] vertex animation

What’s the best way to set up vertex animation in an SDK plugin?

8 Replies

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 the verts of more object than once? etc etc…you have to be more specific.

Fair point – I’m looking to animate the vertices of an existing object. Specifically, my plugin sets vertex positions on a specified scene object. Currently this is a static change, but I would like to make it animatable (i.e. if I performed the function at different points on the timeline with different parameters, the vertices would animate through multiple positions.)

I’ve done a little bit of reading on the MasterPointControl class which I think is what I am looking for, but I don’t understand how to apply it.

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 what you’d need, maybe with various vertex states cached internally at different frames, similar to how the morpher modifier works, where you interpolate between them.

Does anyone else know how to make vertices keyframeable?

EDIT: if it helps, the geometry in question will always be an editable mesh.

1 Reply
(@denist)
Joined: 1 year ago

Posts: 0

sure. add master point controller, and set per-point point3 controllers working with them as with any other control – meaning by setting keys

I don’t suppose you could give an example?

1 Reply
(@denist)
Joined: 1 year ago

Posts: 0

example? i have to find it first in my archive. and compile it to current versions, to be sure that it still works

I’d definitely appreciate it!